/** * 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; }
/** * 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(); }
/** * If not already created, a new <code>authentication-mechanism</code> element will be created and returned. * Otherwise, the first existing <code>authentication-mechanism</code> element will be returned. * @return the instance defined for the element <code>authentication-mechanism</code> */ public AuthenticationMechanism<Resourceadapter<T>> getOrCreateAuthenticationMechanism() { List<Node> nodeList = childNode.get("authentication-mechanism"); if (nodeList != null && nodeList.size() > 0) { return new AuthenticationMechanismImpl<Resourceadapter<T>>(this, "authentication-mechanism", childNode, nodeList.get(0)); } return createAuthenticationMechanism(); }
/** * If not already created, a new <code>config-property</code> element will be created and returned. * Otherwise, the first existing <code>config-property</code> element will be returned. * @return the instance defined for the element <code>config-property</code> */ public ConfigProperty<Resourceadapter<T>> getOrCreateConfigProperty() { List<Node> nodeList = childNode.get("config-property"); if (nodeList != null && nodeList.size() > 0) { return new ConfigPropertyImpl<Resourceadapter<T>>(this, "config-property", childNode, nodeList.get(0)); } return createConfigProperty(); }
/** * 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(); }
/** * If not already created, a new <code>authentication-mechanism</code> element will be created and returned. * Otherwise, the first existing <code>authentication-mechanism</code> element will be returned. * @return the instance defined for the element <code>authentication-mechanism</code> */ public AuthenticationMechanism<Resourceadapter<T>> getOrCreateAuthenticationMechanism() { List<Node> nodeList = childNode.get("authentication-mechanism"); if (nodeList != null && nodeList.size() > 0) { return new AuthenticationMechanismImpl<Resourceadapter<T>>(this, "authentication-mechanism", childNode, nodeList.get(0)); } return createAuthenticationMechanism(); }
/** * If not already created, a new <code>config-property</code> element will be created and returned. * Otherwise, the first existing <code>config-property</code> element will be returned. * @return the instance defined for the element <code>config-property</code> */ public ConfigProperty<Resourceadapter<T>> getOrCreateConfigProperty() { List<Node> nodeList = childNode.get("config-property"); if (nodeList != null && nodeList.size() > 0) { return new ConfigPropertyImpl<Resourceadapter<T>>(this, "config-property", childNode, nodeList.get(0)); } return createConfigProperty(); }
/** * 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; }
/** * 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(); }
/** * If not already created, a new <code>authentication-mechanism</code> element will be created and returned. * Otherwise, the first existing <code>authentication-mechanism</code> element will be returned. * @return the instance defined for the element <code>authentication-mechanism</code> */ public AuthenticationMechanism<Resourceadapter<T>> getOrCreateAuthenticationMechanism() { List<Node> nodeList = childNode.get("authentication-mechanism"); if (nodeList != null && nodeList.size() > 0) { return new AuthenticationMechanismImpl<Resourceadapter<T>>(this, "authentication-mechanism", childNode, nodeList.get(0)); } return createAuthenticationMechanism(); }
/** * If not already created, a new <code>config-property</code> element will be created and returned. * Otherwise, the first existing <code>config-property</code> element will be returned. * @return the instance defined for the element <code>config-property</code> */ public ConfigProperty<Resourceadapter<T>> getOrCreateConfigProperty() { List<Node> nodeList = childNode.get("config-property"); if (nodeList != null && nodeList.size() > 0) { return new ConfigPropertyImpl<Resourceadapter<T>>(this, "config-property", childNode, nodeList.get(0)); } return createConfigProperty(); }
/** * 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; }
/** * 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(); }
/** * If not already created, a new <code>authentication-mechanism</code> element will be created and returned. * Otherwise, the first existing <code>authentication-mechanism</code> element will be returned. * @return the instance defined for the element <code>authentication-mechanism</code> */ public AuthenticationMechanism<Resourceadapter<T>> getOrCreateAuthenticationMechanism() { List<Node> nodeList = childNode.get("authentication-mechanism"); if (nodeList != null && nodeList.size() > 0) { return new AuthenticationMechanismImpl<Resourceadapter<T>>(this, "authentication-mechanism", childNode, nodeList.get(0)); } return createAuthenticationMechanism(); }
/** * If not already created, a new <code>config-property</code> element will be created and returned. * Otherwise, the first existing <code>config-property</code> element will be returned. * @return the instance defined for the element <code>config-property</code> */ public ConfigProperty<Resourceadapter<T>> getOrCreateConfigProperty() { List<Node> nodeList = childNode.get("config-property"); if (nodeList != null && nodeList.size() > 0) { return new ConfigPropertyImpl<Resourceadapter<T>>(this, "config-property", childNode, nodeList.get(0)); } return createConfigProperty(); }
/** * 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; }
/** * 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<Connector<T>></code> */ public Resourceadapter<Connector<T>> getOrCreateResourceadapter() { Node node = childNode.getOrCreate("resourceadapter"); Resourceadapter<Connector<T>> resourceadapter = new ResourceadapterImpl<Connector<T>>(this, "resourceadapter", childNode, node); return resourceadapter; }
/** * 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<Connector<T>></code> */ public Resourceadapter<Connector<T>> getOrCreateResourceadapter() { Node node = childNode.getOrCreate("resourceadapter"); Resourceadapter<Connector<T>> resourceadapter = new ResourceadapterImpl<Connector<T>>(this, "resourceadapter", childNode, node); return resourceadapter; }