/** * Creates a new <code>connection-property</code> element * @return the new created instance of <code>ConnectionPropertyType<DatasourceType<T>></code> */ public ConnectionPropertyType<DatasourceType<T>> createConnectionProperty() { return new ConnectionPropertyTypeImpl<DatasourceType<T>>(this, "connection-property", childNode); }
/** * Creates a new <code>connection-property</code> element * @return the new created instance of <code>ConnectionPropertyType<DatasourceType<T>></code> */ public ConnectionPropertyType<DatasourceType<T>> createConnectionProperty() { return new ConnectionPropertyTypeImpl<DatasourceType<T>>(this, "connection-property", childNode); }
/** * Returns all <code>connection-property</code> elements * @return list of <code>connection-property</code> */ public List<ConnectionPropertyType<DatasourceType<T>>> getAllConnectionProperty() { List<ConnectionPropertyType<DatasourceType<T>>> list = new ArrayList<ConnectionPropertyType<DatasourceType<T>>>(); List<Node> nodeList = childNode.get("connection-property"); for(Node node: nodeList) { ConnectionPropertyType<DatasourceType<T>> type = new ConnectionPropertyTypeImpl<DatasourceType<T>>(this, "connection-property", childNode, node); list.add(type); } return list; }
/** * Returns all <code>connection-property</code> elements * @return list of <code>connection-property</code> */ public List<ConnectionPropertyType<DatasourceType<T>>> getAllConnectionProperty() { List<ConnectionPropertyType<DatasourceType<T>>> list = new ArrayList<ConnectionPropertyType<DatasourceType<T>>>(); List<Node> nodeList = childNode.get("connection-property"); for(Node node: nodeList) { ConnectionPropertyType<DatasourceType<T>> type = new ConnectionPropertyTypeImpl<DatasourceType<T>>(this, "connection-property", childNode, node); list.add(type); } return list; }
/** * If not already created, a new <code>connection-property</code> element will be created and returned. * Otherwise, the first existing <code>connection-property</code> element will be returned. * @return the instance defined for the element <code>connection-property</code> */ public ConnectionPropertyType<DatasourceType<T>> getOrCreateConnectionProperty() { List<Node> nodeList = childNode.get("connection-property"); if (nodeList != null && nodeList.size() > 0) { return new ConnectionPropertyTypeImpl<DatasourceType<T>>(this, "connection-property", childNode, nodeList.get(0)); } return createConnectionProperty(); }
/** * If not already created, a new <code>connection-property</code> element will be created and returned. * Otherwise, the first existing <code>connection-property</code> element will be returned. * @return the instance defined for the element <code>connection-property</code> */ public ConnectionPropertyType<DatasourceType<T>> getOrCreateConnectionProperty() { List<Node> nodeList = childNode.get("connection-property"); if (nodeList != null && nodeList.size() > 0) { return new ConnectionPropertyTypeImpl<DatasourceType<T>>(this, "connection-property", childNode, nodeList.get(0)); } return createConnectionProperty(); }