/** * Creates a new <code>xa-datasource</code> element * @return the new created instance of <code>XaDatasourceType<DatasourcesType<T>></code> */ public XaDatasourceType<DatasourcesType<T>> createXaDatasource() { return new XaDatasourceTypeImpl<DatasourcesType<T>>(this, "xa-datasource", childNode); }
/** * Creates a new <code>xa-datasource</code> element * @return the new created instance of <code>XaDatasourceType<DatasourcesType<T>></code> */ public XaDatasourceType<DatasourcesType<T>> createXaDatasource() { return new XaDatasourceTypeImpl<DatasourcesType<T>>(this, "xa-datasource", childNode); }
/** * Creates a new <code>xa-datasource</code> element * @return the new created instance of <code>XaDatasourceType<DatasourcesDescriptor></code> */ public XaDatasourceType<DatasourcesDescriptor> createXaDatasource() { return new XaDatasourceTypeImpl<DatasourcesDescriptor>(this, "xa-datasource", model); }
/** * Creates a new <code>xa-datasource</code> element * @return the new created instance of <code>XaDatasourceType<DatasourcesDescriptor></code> */ public XaDatasourceType<DatasourcesDescriptor> createXaDatasource() { return new XaDatasourceTypeImpl<DatasourcesDescriptor>(this, "xa-datasource", model); }
/** * Returns all <code>xa-datasource</code> elements * @return list of <code>xa-datasource</code> */ public List<XaDatasourceType<DatasourcesDescriptor>> getAllXaDatasource() { List<XaDatasourceType<DatasourcesDescriptor>> list = new ArrayList<XaDatasourceType<DatasourcesDescriptor>>(); List<Node> nodeList = model.get("xa-datasource"); for(Node node: nodeList) { XaDatasourceType<DatasourcesDescriptor> type = new XaDatasourceTypeImpl<DatasourcesDescriptor>(this, "xa-datasource", model, node); list.add(type); } return list; }
/** * Returns all <code>xa-datasource</code> elements * @return list of <code>xa-datasource</code> */ public List<XaDatasourceType<DatasourcesType<T>>> getAllXaDatasource() { List<XaDatasourceType<DatasourcesType<T>>> list = new ArrayList<XaDatasourceType<DatasourcesType<T>>>(); List<Node> nodeList = childNode.get("xa-datasource"); for(Node node: nodeList) { XaDatasourceType<DatasourcesType<T>> type = new XaDatasourceTypeImpl<DatasourcesType<T>>(this, "xa-datasource", childNode, node); list.add(type); } return list; }
/** * Returns all <code>xa-datasource</code> elements * @return list of <code>xa-datasource</code> */ public List<XaDatasourceType<DatasourcesDescriptor>> getAllXaDatasource() { List<XaDatasourceType<DatasourcesDescriptor>> list = new ArrayList<XaDatasourceType<DatasourcesDescriptor>>(); List<Node> nodeList = model.get("xa-datasource"); for(Node node: nodeList) { XaDatasourceType<DatasourcesDescriptor> type = new XaDatasourceTypeImpl<DatasourcesDescriptor>(this, "xa-datasource", model, node); list.add(type); } return list; }
/** * Returns all <code>xa-datasource</code> elements * @return list of <code>xa-datasource</code> */ public List<XaDatasourceType<DatasourcesType<T>>> getAllXaDatasource() { List<XaDatasourceType<DatasourcesType<T>>> list = new ArrayList<XaDatasourceType<DatasourcesType<T>>>(); List<Node> nodeList = childNode.get("xa-datasource"); for(Node node: nodeList) { XaDatasourceType<DatasourcesType<T>> type = new XaDatasourceTypeImpl<DatasourcesType<T>>(this, "xa-datasource", childNode, node); list.add(type); } return list; }
/** * If not already created, a new <code>xa-datasource</code> element will be created and returned. * Otherwise, the first existing <code>xa-datasource</code> element will be returned. * @return the instance defined for the element <code>xa-datasource</code> */ public XaDatasourceType<DatasourcesDescriptor> getOrCreateXaDatasource() { List<Node> nodeList = model.get("xa-datasource"); if (nodeList != null && nodeList.size() > 0) { return new XaDatasourceTypeImpl<DatasourcesDescriptor>(this, "xa-datasource", model, nodeList.get(0)); } return createXaDatasource(); }
/** * If not already created, a new <code>xa-datasource</code> element will be created and returned. * Otherwise, the first existing <code>xa-datasource</code> element will be returned. * @return the instance defined for the element <code>xa-datasource</code> */ public XaDatasourceType<DatasourcesType<T>> getOrCreateXaDatasource() { List<Node> nodeList = childNode.get("xa-datasource"); if (nodeList != null && nodeList.size() > 0) { return new XaDatasourceTypeImpl<DatasourcesType<T>>(this, "xa-datasource", childNode, nodeList.get(0)); } return createXaDatasource(); }
/** * If not already created, a new <code>xa-datasource</code> element will be created and returned. * Otherwise, the first existing <code>xa-datasource</code> element will be returned. * @return the instance defined for the element <code>xa-datasource</code> */ public XaDatasourceType<DatasourcesDescriptor> getOrCreateXaDatasource() { List<Node> nodeList = model.get("xa-datasource"); if (nodeList != null && nodeList.size() > 0) { return new XaDatasourceTypeImpl<DatasourcesDescriptor>(this, "xa-datasource", model, nodeList.get(0)); } return createXaDatasource(); }
/** * If not already created, a new <code>xa-datasource</code> element will be created and returned. * Otherwise, the first existing <code>xa-datasource</code> element will be returned. * @return the instance defined for the element <code>xa-datasource</code> */ public XaDatasourceType<DatasourcesType<T>> getOrCreateXaDatasource() { List<Node> nodeList = childNode.get("xa-datasource"); if (nodeList != null && nodeList.size() > 0) { return new XaDatasourceTypeImpl<DatasourcesType<T>>(this, "xa-datasource", childNode, nodeList.get(0)); } return createXaDatasource(); }