/** * Creates a new <code>many-to-many</code> element * @return the new created instance of <code>ManyToMany<Attributes<T>></code> */ public ManyToMany<Attributes<T>> createManyToMany() { return new ManyToManyImpl<Attributes<T>>(this, "many-to-many", childNode); }
/** * 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<ManyToMany<T>> getOrCreateMapKeyConvert() { List<Node> nodeList = childNode.get("map-key-convert"); if (nodeList != null && nodeList.size() > 0) { return new ConvertImpl<ManyToMany<T>>(this, "map-key-convert", childNode, nodeList.get(0)); } return createMapKeyConvert(); }
/** * 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<ManyToMany<T>> getOrCreateMapKeyJoinColumn() { List<Node> nodeList = childNode.get("map-key-join-column"); if (nodeList != null && nodeList.size() > 0) { return new MapKeyJoinColumnImpl<ManyToMany<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<ManyToMany<T>> getOrCreateMapKeyAttributeOverride() { List<Node> nodeList = childNode.get("map-key-attribute-override"); if (nodeList != null && nodeList.size() > 0) { return new AttributeOverrideImpl<ManyToMany<T>>(this, "map-key-attribute-override", childNode, nodeList.get(0)); } return createMapKeyAttributeOverride(); }
/** * 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<ManyToMany<T>> getOrCreateMapKeyConvert() { List<Node> nodeList = childNode.get("map-key-convert"); if (nodeList != null && nodeList.size() > 0) { return new ConvertImpl<ManyToMany<T>>(this, "map-key-convert", childNode, nodeList.get(0)); } return createMapKeyConvert(); }
/** * 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<ManyToMany<T>> getOrCreateMapKeyJoinColumn() { List<Node> nodeList = childNode.get("map-key-join-column"); if (nodeList != null && nodeList.size() > 0) { return new MapKeyJoinColumnImpl<ManyToMany<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<ManyToMany<T>> getOrCreateMapKeyAttributeOverride() { List<Node> nodeList = childNode.get("map-key-attribute-override"); if (nodeList != null && nodeList.size() > 0) { return new AttributeOverrideImpl<ManyToMany<T>>(this, "map-key-attribute-override", childNode, nodeList.get(0)); } return createMapKeyAttributeOverride(); }
/** * Creates a new <code>many-to-many</code> element * @return the new created instance of <code>ManyToMany<Attributes<T>></code> */ public ManyToMany<Attributes<T>> createManyToMany() { return new ManyToManyImpl<Attributes<T>>(this, "many-to-many", childNode); }
/** * Creates a new <code>many-to-many</code> element * @return the new created instance of <code>ManyToMany<EmbeddableAttributes<T>></code> */ public ManyToMany<EmbeddableAttributes<T>> createManyToMany() { return new ManyToManyImpl<EmbeddableAttributes<T>>(this, "many-to-many", childNode); }
/** * Creates a new <code>many-to-many</code> element * @return the new created instance of <code>ManyToMany<EmbeddableAttributes<T>></code> */ public ManyToMany<EmbeddableAttributes<T>> createManyToMany() { return new ManyToManyImpl<EmbeddableAttributes<T>>(this, "many-to-many", childNode); }
/** * Returns all <code>many-to-many</code> elements * @return list of <code>many-to-many</code> */ public List<ManyToMany<EmbeddableAttributes<T>>> getAllManyToMany() { List<ManyToMany<EmbeddableAttributes<T>>> list = new ArrayList<ManyToMany<EmbeddableAttributes<T>>>(); List<Node> nodeList = childNode.get("many-to-many"); for(Node node: nodeList) { ManyToMany<EmbeddableAttributes<T>> type = new ManyToManyImpl<EmbeddableAttributes<T>>(this, "many-to-many", childNode, node); list.add(type); } return list; }
/** * Returns all <code>many-to-many</code> elements * @return list of <code>many-to-many</code> */ public List<ManyToMany<EmbeddableAttributes<T>>> getAllManyToMany() { List<ManyToMany<EmbeddableAttributes<T>>> list = new ArrayList<ManyToMany<EmbeddableAttributes<T>>>(); List<Node> nodeList = childNode.get("many-to-many"); for(Node node: nodeList) { ManyToMany<EmbeddableAttributes<T>> type = new ManyToManyImpl<EmbeddableAttributes<T>>(this, "many-to-many", childNode, node); list.add(type); } return list; }
/** * Returns all <code>many-to-many</code> elements * @return list of <code>many-to-many</code> */ public List<ManyToMany<Attributes<T>>> getAllManyToMany() { List<ManyToMany<Attributes<T>>> list = new ArrayList<ManyToMany<Attributes<T>>>(); List<Node> nodeList = childNode.get("many-to-many"); for(Node node: nodeList) { ManyToMany<Attributes<T>> type = new ManyToManyImpl<Attributes<T>>(this, "many-to-many", childNode, node); list.add(type); } return list; }
/** * Returns all <code>many-to-many</code> elements * @return list of <code>many-to-many</code> */ public List<ManyToMany<Attributes<T>>> getAllManyToMany() { List<ManyToMany<Attributes<T>>> list = new ArrayList<ManyToMany<Attributes<T>>>(); List<Node> nodeList = childNode.get("many-to-many"); for(Node node: nodeList) { ManyToMany<Attributes<T>> type = new ManyToManyImpl<Attributes<T>>(this, "many-to-many", childNode, node); list.add(type); } return list; }
/** * If not already created, a new <code>many-to-many</code> element will be created and returned. * Otherwise, the first existing <code>many-to-many</code> element will be returned. * @return the instance defined for the element <code>many-to-many</code> */ public ManyToMany<Attributes<T>> getOrCreateManyToMany() { List<Node> nodeList = childNode.get("many-to-many"); if (nodeList != null && nodeList.size() > 0) { return new ManyToManyImpl<Attributes<T>>(this, "many-to-many", childNode, nodeList.get(0)); } return createManyToMany(); }
/** * If not already created, a new <code>many-to-many</code> element will be created and returned. * Otherwise, the first existing <code>many-to-many</code> element will be returned. * @return the instance defined for the element <code>many-to-many</code> */ public ManyToMany<EmbeddableAttributes<T>> getOrCreateManyToMany() { List<Node> nodeList = childNode.get("many-to-many"); if (nodeList != null && nodeList.size() > 0) { return new ManyToManyImpl<EmbeddableAttributes<T>>(this, "many-to-many", childNode, nodeList.get(0)); } return createManyToMany(); }
/** * If not already created, a new <code>many-to-many</code> element will be created and returned. * Otherwise, the first existing <code>many-to-many</code> element will be returned. * @return the instance defined for the element <code>many-to-many</code> */ public ManyToMany<EmbeddableAttributes<T>> getOrCreateManyToMany() { List<Node> nodeList = childNode.get("many-to-many"); if (nodeList != null && nodeList.size() > 0) { return new ManyToManyImpl<EmbeddableAttributes<T>>(this, "many-to-many", childNode, nodeList.get(0)); } return createManyToMany(); }
/** * If not already created, a new <code>many-to-many</code> element will be created and returned. * Otherwise, the first existing <code>many-to-many</code> element will be returned. * @return the instance defined for the element <code>many-to-many</code> */ public ManyToMany<Attributes<T>> getOrCreateManyToMany() { List<Node> nodeList = childNode.get("many-to-many"); if (nodeList != null && nodeList.size() > 0) { return new ManyToManyImpl<Attributes<T>>(this, "many-to-many", childNode, nodeList.get(0)); } return createManyToMany(); }