/** * 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<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(); }