/** * If not already created, a new <code>outbound-resourceadapter</code> element with the given value will be created. * Otherwise, the existing <code>outbound-resourceadapter</code> element will be returned. * @return a new or existing instance of <code>OutboundResourceadapterType<ResourceadapterType<T>></code> */ public OutboundResourceadapterType<ResourceadapterType<T>> getOrCreateOutboundResourceadapter() { Node node = childNode.getOrCreate("outbound-resourceadapter"); OutboundResourceadapterType<ResourceadapterType<T>> outboundResourceadapter = new OutboundResourceadapterTypeImpl<ResourceadapterType<T>>(this, "outbound-resourceadapter", childNode, node); return outboundResourceadapter; }
/** * If not already created, a new <code>connection-definition</code> element will be created and returned. * Otherwise, the first existing <code>connection-definition</code> element will be returned. * @return the instance defined for the element <code>connection-definition</code> */ public ConnectionDefinitionType<OutboundResourceadapterType<T>> getOrCreateConnectionDefinition() { List<Node> nodeList = childNode.get("connection-definition"); if (nodeList != null && nodeList.size() > 0) { return new ConnectionDefinitionTypeImpl<OutboundResourceadapterType<T>>(this, "connection-definition", childNode, nodeList.get(0)); } return createConnectionDefinition(); }
/** * 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 AuthenticationMechanismType<OutboundResourceadapterType<T>> getOrCreateAuthenticationMechanism() { List<Node> nodeList = childNode.get("authentication-mechanism"); if (nodeList != null && nodeList.size() > 0) { return new AuthenticationMechanismTypeImpl<OutboundResourceadapterType<T>>(this, "authentication-mechanism", childNode, nodeList.get(0)); } return createAuthenticationMechanism(); }
/** * If not already created, a new <code>connection-definition</code> element will be created and returned. * Otherwise, the first existing <code>connection-definition</code> element will be returned. * @return the instance defined for the element <code>connection-definition</code> */ public ConnectionDefinitionType<OutboundResourceadapterType<T>> getOrCreateConnectionDefinition() { List<Node> nodeList = childNode.get("connection-definition"); if (nodeList != null && nodeList.size() > 0) { return new ConnectionDefinitionTypeImpl<OutboundResourceadapterType<T>>(this, "connection-definition", childNode, nodeList.get(0)); } return createConnectionDefinition(); }
/** * 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 AuthenticationMechanismType<OutboundResourceadapterType<T>> getOrCreateAuthenticationMechanism() { List<Node> nodeList = childNode.get("authentication-mechanism"); if (nodeList != null && nodeList.size() > 0) { return new AuthenticationMechanismTypeImpl<OutboundResourceadapterType<T>>(this, "authentication-mechanism", childNode, nodeList.get(0)); } return createAuthenticationMechanism(); }
/** * If not already created, a new <code>outbound-resourceadapter</code> element with the given value will be created. * Otherwise, the existing <code>outbound-resourceadapter</code> element will be returned. * @return a new or existing instance of <code>OutboundResourceadapterType<ResourceadapterType<T>></code> */ public OutboundResourceadapterType<ResourceadapterType<T>> getOrCreateOutboundResourceadapter() { Node node = childNode.getOrCreate("outbound-resourceadapter"); OutboundResourceadapterType<ResourceadapterType<T>> outboundResourceadapter = new OutboundResourceadapterTypeImpl<ResourceadapterType<T>>(this, "outbound-resourceadapter", childNode, node); return outboundResourceadapter; }
/** * If not already created, a new <code>connection-definition</code> element will be created and returned. * Otherwise, the first existing <code>connection-definition</code> element will be returned. * @return the instance defined for the element <code>connection-definition</code> */ public ConnectionDefinitionType<OutboundResourceadapterType<T>> getOrCreateConnectionDefinition() { List<Node> nodeList = childNode.get("connection-definition"); if (nodeList != null && nodeList.size() > 0) { return new ConnectionDefinitionTypeImpl<OutboundResourceadapterType<T>>(this, "connection-definition", childNode, nodeList.get(0)); } return createConnectionDefinition(); }
/** * 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 AuthenticationMechanismType<OutboundResourceadapterType<T>> getOrCreateAuthenticationMechanism() { List<Node> nodeList = childNode.get("authentication-mechanism"); if (nodeList != null && nodeList.size() > 0) { return new AuthenticationMechanismTypeImpl<OutboundResourceadapterType<T>>(this, "authentication-mechanism", childNode, nodeList.get(0)); } return createAuthenticationMechanism(); }
/** * If not already created, a new <code>outbound-resourceadapter</code> element with the given value will be created. * Otherwise, the existing <code>outbound-resourceadapter</code> element will be returned. * @return a new or existing instance of <code>OutboundResourceadapterType<ResourceadapterType<T>></code> */ public OutboundResourceadapterType<ResourceadapterType<T>> getOrCreateOutboundResourceadapter() { Node node = childNode.getOrCreate("outbound-resourceadapter"); OutboundResourceadapterType<ResourceadapterType<T>> outboundResourceadapter = new OutboundResourceadapterTypeImpl<ResourceadapterType<T>>(this, "outbound-resourceadapter", childNode, node); return outboundResourceadapter; }
/** * If not already created, a new <code>connection-definition</code> element will be created and returned. * Otherwise, the first existing <code>connection-definition</code> element will be returned. * @return the instance defined for the element <code>connection-definition</code> */ public ConnectionDefinitionType<OutboundResourceadapterType<T>> getOrCreateConnectionDefinition() { List<Node> nodeList = childNode.get("connection-definition"); if (nodeList != null && nodeList.size() > 0) { return new ConnectionDefinitionTypeImpl<OutboundResourceadapterType<T>>(this, "connection-definition", childNode, nodeList.get(0)); } return createConnectionDefinition(); }
/** * 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 AuthenticationMechanismType<OutboundResourceadapterType<T>> getOrCreateAuthenticationMechanism() { List<Node> nodeList = childNode.get("authentication-mechanism"); if (nodeList != null && nodeList.size() > 0) { return new AuthenticationMechanismTypeImpl<OutboundResourceadapterType<T>>(this, "authentication-mechanism", childNode, nodeList.get(0)); } return createAuthenticationMechanism(); }
/** * If not already created, a new <code>outbound-resourceadapter</code> element with the given value will be created. * Otherwise, the existing <code>outbound-resourceadapter</code> element will be returned. * @return a new or existing instance of <code>OutboundResourceadapterType<ResourceadapterType<T>></code> */ public OutboundResourceadapterType<ResourceadapterType<T>> getOrCreateOutboundResourceadapter() { Node node = childNode.getOrCreate("outbound-resourceadapter"); OutboundResourceadapterType<ResourceadapterType<T>> outboundResourceadapter = new OutboundResourceadapterTypeImpl<ResourceadapterType<T>>(this, "outbound-resourceadapter", childNode, node); return outboundResourceadapter; }