/** * Creates a new <code>security-permission</code> element * @return the new created instance of <code>SecurityPermission<Resourceadapter<T>></code> */ public SecurityPermission<Resourceadapter<T>> createSecurityPermission() { return new SecurityPermissionImpl<Resourceadapter<T>>(this, "security-permission", childNode); }
/** * Creates a new <code>authentication-mechanism</code> element * @return the new created instance of <code>AuthenticationMechanism<Resourceadapter<T>></code> */ public AuthenticationMechanism<Resourceadapter<T>> createAuthenticationMechanism() { return new AuthenticationMechanismImpl<Resourceadapter<T>>(this, "authentication-mechanism", childNode); }
/** * Creates a new <code>config-property</code> element * @return the new created instance of <code>ConfigProperty<Resourceadapter<T>></code> */ public ConfigProperty<Resourceadapter<T>> createConfigProperty() { return new ConfigPropertyImpl<Resourceadapter<T>>(this, "config-property", childNode); }
/** * If not already created, a new <code>security-permission</code> element will be created and returned. * Otherwise, the first existing <code>security-permission</code> element will be returned. * @return the instance defined for the element <code>security-permission</code> */ public SecurityPermission<Resourceadapter<T>> getOrCreateSecurityPermission() { List<Node> nodeList = childNode.get("security-permission"); if (nodeList != null && nodeList.size() > 0) { return new SecurityPermissionImpl<Resourceadapter<T>>(this, "security-permission", childNode, nodeList.get(0)); } return createSecurityPermission(); }
public ConnectorDescriptorImpl(String descriptorName, Node node) { super(descriptorName); this.model = node; addDefaultNamespaces(); }
/** * If not already created, a new <code>icon</code> element with the given value will be created. * Otherwise, the existing <code>icon</code> element will be returned. * @return a new or existing instance of <code>Icon<ConnectorDescriptor></code> */ public Icon<ConnectorDescriptor> getOrCreateIcon() { Node node = model.getOrCreate("icon"); Icon<ConnectorDescriptor> icon = new IconImpl<ConnectorDescriptor>(this, "icon", model, node); return icon; }
/** * If not already created, a new <code>resourceadapter</code> element with the given value will be created. * Otherwise, the existing <code>resourceadapter</code> element will be returned. * @return a new or existing instance of <code>Resourceadapter<ConnectorDescriptor></code> */ public Resourceadapter<ConnectorDescriptor> getOrCreateResourceadapter() { Node node = model.getOrCreate("resourceadapter"); Resourceadapter<ConnectorDescriptor> resourceadapter = new ResourceadapterImpl<ConnectorDescriptor>(this, "resourceadapter", model, node); return resourceadapter; }
/** * Creates a new <code>security-permission</code> element * @return the new created instance of <code>SecurityPermission<Resourceadapter<T>></code> */ public SecurityPermission<Resourceadapter<T>> createSecurityPermission() { return new SecurityPermissionImpl<Resourceadapter<T>>(this, "security-permission", childNode); }
/** * Creates a new <code>authentication-mechanism</code> element * @return the new created instance of <code>AuthenticationMechanism<Resourceadapter<T>></code> */ public AuthenticationMechanism<Resourceadapter<T>> createAuthenticationMechanism() { return new AuthenticationMechanismImpl<Resourceadapter<T>>(this, "authentication-mechanism", childNode); }
/** * Creates a new <code>config-property</code> element * @return the new created instance of <code>ConfigProperty<Resourceadapter<T>></code> */ public ConfigProperty<Resourceadapter<T>> createConfigProperty() { return new ConfigPropertyImpl<Resourceadapter<T>>(this, "config-property", childNode); }
public ConnectorDescriptorImpl(String descriptorName, Node node) { super(descriptorName); this.model = node; addDefaultNamespaces(); }
/** * If not already created, a new <code>icon</code> element with the given value will be created. * Otherwise, the existing <code>icon</code> element will be returned. * @return a new or existing instance of <code>Icon<Connector<T>></code> */ public Icon<Connector<T>> getOrCreateIcon() { Node node = childNode.getOrCreate("icon"); Icon<Connector<T>> icon = new IconImpl<Connector<T>>(this, "icon", childNode, node); return icon; }
/** * Creates a new <code>security-permission</code> element * @return the new created instance of <code>SecurityPermission<Resourceadapter<T>></code> */ public SecurityPermission<Resourceadapter<T>> createSecurityPermission() { return new SecurityPermissionImpl<Resourceadapter<T>>(this, "security-permission", childNode); }
/** * Creates a new <code>authentication-mechanism</code> element * @return the new created instance of <code>AuthenticationMechanism<Resourceadapter<T>></code> */ public AuthenticationMechanism<Resourceadapter<T>> createAuthenticationMechanism() { return new AuthenticationMechanismImpl<Resourceadapter<T>>(this, "authentication-mechanism", childNode); }
/** * Creates a new <code>config-property</code> element * @return the new created instance of <code>ConfigProperty<Resourceadapter<T>></code> */ public ConfigProperty<Resourceadapter<T>> createConfigProperty() { return new ConfigPropertyImpl<Resourceadapter<T>>(this, "config-property", childNode); }
public ConnectorDescriptorImpl(String descriptorName, Node node) { super(descriptorName); this.model = node; addDefaultNamespaces(); }
/** * Creates a new <code>security-permission</code> element * @return the new created instance of <code>SecurityPermission<Resourceadapter<T>></code> */ public SecurityPermission<Resourceadapter<T>> createSecurityPermission() { return new SecurityPermissionImpl<Resourceadapter<T>>(this, "security-permission", childNode); }
/** * Creates a new <code>authentication-mechanism</code> element * @return the new created instance of <code>AuthenticationMechanism<Resourceadapter<T>></code> */ public AuthenticationMechanism<Resourceadapter<T>> createAuthenticationMechanism() { return new AuthenticationMechanismImpl<Resourceadapter<T>>(this, "authentication-mechanism", childNode); }
/** * Creates a new <code>config-property</code> element * @return the new created instance of <code>ConfigProperty<Resourceadapter<T>></code> */ public ConfigProperty<Resourceadapter<T>> createConfigProperty() { return new ConfigPropertyImpl<Resourceadapter<T>>(this, "config-property", childNode); }
public ConnectorDescriptorImpl(String descriptorName, Node node) { super(descriptorName); this.model = node; addDefaultNamespaces(); }