/** * Creates a new <code>element-collection</code> element * @return the new created instance of <code>ElementCollection<EmbeddableAttributes<T>></code> */ public ElementCollection<EmbeddableAttributes<T>> createElementCollection() { return new ElementCollectionImpl<EmbeddableAttributes<T>>(this, "element-collection", childNode); }
/** * Creates a new <code>element-collection</code> element * @return the new created instance of <code>ElementCollection<Attributes<T>></code> */ public ElementCollection<Attributes<T>> createElementCollection() { return new ElementCollectionImpl<Attributes<T>>(this, "element-collection", childNode); }
/** * Creates a new <code>element-collection</code> element * @return the new created instance of <code>ElementCollection<EmbeddableAttributes<T>></code> */ public ElementCollection<EmbeddableAttributes<T>> createElementCollection() { return new ElementCollectionImpl<EmbeddableAttributes<T>>(this, "element-collection", childNode); }
/** * Creates a new <code>element-collection</code> element * @return the new created instance of <code>ElementCollection<Attributes<T>></code> */ public ElementCollection<Attributes<T>> createElementCollection() { return new ElementCollectionImpl<Attributes<T>>(this, "element-collection", childNode); }
/** * Returns all <code>element-collection</code> elements * @return list of <code>element-collection</code> */ public List<ElementCollection<EmbeddableAttributes<T>>> getAllElementCollection() { List<ElementCollection<EmbeddableAttributes<T>>> list = new ArrayList<ElementCollection<EmbeddableAttributes<T>>>(); List<Node> nodeList = childNode.get("element-collection"); for(Node node: nodeList) { ElementCollection<EmbeddableAttributes<T>> type = new ElementCollectionImpl<EmbeddableAttributes<T>>(this, "element-collection", childNode, node); list.add(type); } return list; }
/** * Returns all <code>element-collection</code> elements * @return list of <code>element-collection</code> */ public List<ElementCollection<Attributes<T>>> getAllElementCollection() { List<ElementCollection<Attributes<T>>> list = new ArrayList<ElementCollection<Attributes<T>>>(); List<Node> nodeList = childNode.get("element-collection"); for(Node node: nodeList) { ElementCollection<Attributes<T>> type = new ElementCollectionImpl<Attributes<T>>(this, "element-collection", childNode, node); list.add(type); } return list; }
/** * Returns all <code>element-collection</code> elements * @return list of <code>element-collection</code> */ public List<ElementCollection<EmbeddableAttributes<T>>> getAllElementCollection() { List<ElementCollection<EmbeddableAttributes<T>>> list = new ArrayList<ElementCollection<EmbeddableAttributes<T>>>(); List<Node> nodeList = childNode.get("element-collection"); for(Node node: nodeList) { ElementCollection<EmbeddableAttributes<T>> type = new ElementCollectionImpl<EmbeddableAttributes<T>>(this, "element-collection", childNode, node); list.add(type); } return list; }
/** * Returns all <code>element-collection</code> elements * @return list of <code>element-collection</code> */ public List<ElementCollection<Attributes<T>>> getAllElementCollection() { List<ElementCollection<Attributes<T>>> list = new ArrayList<ElementCollection<Attributes<T>>>(); List<Node> nodeList = childNode.get("element-collection"); for(Node node: nodeList) { ElementCollection<Attributes<T>> type = new ElementCollectionImpl<Attributes<T>>(this, "element-collection", childNode, node); list.add(type); } return list; }
/** * If not already created, a new <code>element-collection</code> element will be created and returned. * Otherwise, the first existing <code>element-collection</code> element will be returned. * @return the instance defined for the element <code>element-collection</code> */ public ElementCollection<EmbeddableAttributes<T>> getOrCreateElementCollection() { List<Node> nodeList = childNode.get("element-collection"); if (nodeList != null && nodeList.size() > 0) { return new ElementCollectionImpl<EmbeddableAttributes<T>>(this, "element-collection", childNode, nodeList.get(0)); } return createElementCollection(); }
/** * If not already created, a new <code>element-collection</code> element will be created and returned. * Otherwise, the first existing <code>element-collection</code> element will be returned. * @return the instance defined for the element <code>element-collection</code> */ public ElementCollection<EmbeddableAttributes<T>> getOrCreateElementCollection() { List<Node> nodeList = childNode.get("element-collection"); if (nodeList != null && nodeList.size() > 0) { return new ElementCollectionImpl<EmbeddableAttributes<T>>(this, "element-collection", childNode, nodeList.get(0)); } return createElementCollection(); }
/** * If not already created, a new <code>element-collection</code> element will be created and returned. * Otherwise, the first existing <code>element-collection</code> element will be returned. * @return the instance defined for the element <code>element-collection</code> */ public ElementCollection<Attributes<T>> getOrCreateElementCollection() { List<Node> nodeList = childNode.get("element-collection"); if (nodeList != null && nodeList.size() > 0) { return new ElementCollectionImpl<Attributes<T>>(this, "element-collection", childNode, nodeList.get(0)); } return createElementCollection(); }
/** * If not already created, a new <code>element-collection</code> element will be created and returned. * Otherwise, the first existing <code>element-collection</code> element will be returned. * @return the instance defined for the element <code>element-collection</code> */ public ElementCollection<Attributes<T>> getOrCreateElementCollection() { List<Node> nodeList = childNode.get("element-collection"); if (nodeList != null && nodeList.size() > 0) { return new ElementCollectionImpl<Attributes<T>>(this, "element-collection", childNode, nodeList.get(0)); } return createElementCollection(); }