/** * 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); }
/** * If not already created, a new <code>attribute-override</code> element will be created and returned. * Otherwise, the first existing <code>attribute-override</code> element will be returned. * @return the instance defined for the element <code>attribute-override</code> */ public AttributeOverride<ElementCollection<T>> getOrCreateAttributeOverride() { List<Node> nodeList = childNode.get("attribute-override"); if (nodeList != null && nodeList.size() > 0) { return new AttributeOverrideImpl<ElementCollection<T>>(this, "attribute-override", childNode, nodeList.get(0)); } return createAttributeOverride(); }
/** * If not already created, a new <code>convert</code> element will be created and returned. * Otherwise, the first existing <code>convert</code> element will be returned. * @return the instance defined for the element <code>convert</code> */ public Convert<ElementCollection<T>> getOrCreateConvert() { List<Node> nodeList = childNode.get("convert"); if (nodeList != null && nodeList.size() > 0) { return new ConvertImpl<ElementCollection<T>>(this, "convert", childNode, nodeList.get(0)); } return createConvert(); }
/** * If not already created, a new <code>map-key-convert</code> element will be created and returned. * Otherwise, the first existing <code>map-key-convert</code> element will be returned. * @return the instance defined for the element <code>map-key-convert</code> */ public Convert<ElementCollection<T>> getOrCreateMapKeyConvert() { List<Node> nodeList = childNode.get("map-key-convert"); if (nodeList != null && nodeList.size() > 0) { return new ConvertImpl<ElementCollection<T>>(this, "map-key-convert", childNode, nodeList.get(0)); } return createMapKeyConvert(); }
/** * If not already created, a new <code>association-override</code> element will be created and returned. * Otherwise, the first existing <code>association-override</code> element will be returned. * @return the instance defined for the element <code>association-override</code> */ public AssociationOverride<ElementCollection<T>> getOrCreateAssociationOverride() { List<Node> nodeList = childNode.get("association-override"); if (nodeList != null && nodeList.size() > 0) { return new AssociationOverrideImpl<ElementCollection<T>>(this, "association-override", childNode, nodeList.get(0)); } return createAssociationOverride(); }
/** * If not already created, a new <code>map-key-join-column</code> element will be created and returned. * Otherwise, the first existing <code>map-key-join-column</code> element will be returned. * @return the instance defined for the element <code>map-key-join-column</code> */ public MapKeyJoinColumn<ElementCollection<T>> getOrCreateMapKeyJoinColumn() { List<Node> nodeList = childNode.get("map-key-join-column"); if (nodeList != null && nodeList.size() > 0) { return new MapKeyJoinColumnImpl<ElementCollection<T>>(this, "map-key-join-column", childNode, nodeList.get(0)); } return createMapKeyJoinColumn(); }
/** * If not already created, a new <code>map-key-attribute-override</code> element will be created and returned. * Otherwise, the first existing <code>map-key-attribute-override</code> element will be returned. * @return the instance defined for the element <code>map-key-attribute-override</code> */ public AttributeOverride<ElementCollection<T>> getOrCreateMapKeyAttributeOverride() { List<Node> nodeList = childNode.get("map-key-attribute-override"); if (nodeList != null && nodeList.size() > 0) { return new AttributeOverrideImpl<ElementCollection<T>>(this, "map-key-attribute-override", childNode, nodeList.get(0)); } return createMapKeyAttributeOverride(); }
/** * If not already created, a new <code>attribute-override</code> element will be created and returned. * Otherwise, the first existing <code>attribute-override</code> element will be returned. * @return the instance defined for the element <code>attribute-override</code> */ public AttributeOverride<ElementCollection<T>> getOrCreateAttributeOverride() { List<Node> nodeList = childNode.get("attribute-override"); if (nodeList != null && nodeList.size() > 0) { return new AttributeOverrideImpl<ElementCollection<T>>(this, "attribute-override", childNode, nodeList.get(0)); } return createAttributeOverride(); }
/** * If not already created, a new <code>convert</code> element will be created and returned. * Otherwise, the first existing <code>convert</code> element will be returned. * @return the instance defined for the element <code>convert</code> */ public Convert<ElementCollection<T>> getOrCreateConvert() { List<Node> nodeList = childNode.get("convert"); if (nodeList != null && nodeList.size() > 0) { return new ConvertImpl<ElementCollection<T>>(this, "convert", childNode, nodeList.get(0)); } return createConvert(); }
/** * If not already created, a new <code>map-key-convert</code> element will be created and returned. * Otherwise, the first existing <code>map-key-convert</code> element will be returned. * @return the instance defined for the element <code>map-key-convert</code> */ public Convert<ElementCollection<T>> getOrCreateMapKeyConvert() { List<Node> nodeList = childNode.get("map-key-convert"); if (nodeList != null && nodeList.size() > 0) { return new ConvertImpl<ElementCollection<T>>(this, "map-key-convert", childNode, nodeList.get(0)); } return createMapKeyConvert(); }
/** * If not already created, a new <code>association-override</code> element will be created and returned. * Otherwise, the first existing <code>association-override</code> element will be returned. * @return the instance defined for the element <code>association-override</code> */ public AssociationOverride<ElementCollection<T>> getOrCreateAssociationOverride() { List<Node> nodeList = childNode.get("association-override"); if (nodeList != null && nodeList.size() > 0) { return new AssociationOverrideImpl<ElementCollection<T>>(this, "association-override", childNode, nodeList.get(0)); } return createAssociationOverride(); }
/** * If not already created, a new <code>map-key-join-column</code> element will be created and returned. * Otherwise, the first existing <code>map-key-join-column</code> element will be returned. * @return the instance defined for the element <code>map-key-join-column</code> */ public MapKeyJoinColumn<ElementCollection<T>> getOrCreateMapKeyJoinColumn() { List<Node> nodeList = childNode.get("map-key-join-column"); if (nodeList != null && nodeList.size() > 0) { return new MapKeyJoinColumnImpl<ElementCollection<T>>(this, "map-key-join-column", childNode, nodeList.get(0)); } return createMapKeyJoinColumn(); }
/** * If not already created, a new <code>map-key-attribute-override</code> element will be created and returned. * Otherwise, the first existing <code>map-key-attribute-override</code> element will be returned. * @return the instance defined for the element <code>map-key-attribute-override</code> */ public AttributeOverride<ElementCollection<T>> getOrCreateMapKeyAttributeOverride() { List<Node> nodeList = childNode.get("map-key-attribute-override"); if (nodeList != null && nodeList.size() > 0) { return new AttributeOverrideImpl<ElementCollection<T>>(this, "map-key-attribute-override", childNode, nodeList.get(0)); } return createMapKeyAttributeOverride(); }
/** * 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<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; }