/** * 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<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<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<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; }