/** * Creates a new <code>config-property</code> element * @return the new created instance of <code>ConfigPropertyType<ExtensionType<T>></code> */ public ConfigPropertyType<ExtensionType<T>> createConfigProperty() { return new ConfigPropertyTypeImpl<ExtensionType<T>>(this, "config-property", childNode); }
/** * Creates a new <code>config-property</code> element * @return the new created instance of <code>ConfigPropertyType<ExtensionType<T>></code> */ public ConfigPropertyType<ExtensionType<T>> createConfigProperty() { return new ConfigPropertyTypeImpl<ExtensionType<T>>(this, "config-property", childNode); }
/** * Returns all <code>config-property</code> elements * @return list of <code>config-property</code> */ public List<ConfigPropertyType<ExtensionType<T>>> getAllConfigProperty() { List<ConfigPropertyType<ExtensionType<T>>> list = new ArrayList<ConfigPropertyType<ExtensionType<T>>>(); List<Node> nodeList = childNode.get("config-property"); for(Node node: nodeList) { ConfigPropertyType<ExtensionType<T>> type = new ConfigPropertyTypeImpl<ExtensionType<T>>(this, "config-property", childNode, node); list.add(type); } return list; }
/** * Returns all <code>config-property</code> elements * @return list of <code>config-property</code> */ public List<ConfigPropertyType<ExtensionType<T>>> getAllConfigProperty() { List<ConfigPropertyType<ExtensionType<T>>> list = new ArrayList<ConfigPropertyType<ExtensionType<T>>>(); List<Node> nodeList = childNode.get("config-property"); for(Node node: nodeList) { ConfigPropertyType<ExtensionType<T>> type = new ConfigPropertyTypeImpl<ExtensionType<T>>(this, "config-property", childNode, node); list.add(type); } return list; }
/** * 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 ConfigPropertyType<ExtensionType<T>> getOrCreateConfigProperty() { List<Node> nodeList = childNode.get("config-property"); if (nodeList != null && nodeList.size() > 0) { return new ConfigPropertyTypeImpl<ExtensionType<T>>(this, "config-property", childNode, nodeList.get(0)); } return createConfigProperty(); }
/** * 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 ConfigPropertyType<ExtensionType<T>> getOrCreateConfigProperty() { List<Node> nodeList = childNode.get("config-property"); if (nodeList != null && nodeList.size() > 0) { return new ConfigPropertyTypeImpl<ExtensionType<T>>(this, "config-property", childNode, nodeList.get(0)); } return createConfigProperty(); }