/** * 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<OneToMany<T>> getOrCreateMapKeyAttributeOverride() { List<Node> nodeList = childNode.get("map-key-attribute-override"); if (nodeList != null && nodeList.size() > 0) { return new AttributeOverrideImpl<OneToMany<T>>(this, "map-key-attribute-override", childNode, nodeList.get(0)); } return createMapKeyAttributeOverride(); }
/** * 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<OneToMany<T>> getOrCreateMapKeyAttributeOverride() { List<Node> nodeList = childNode.get("map-key-attribute-override"); if (nodeList != null && nodeList.size() > 0) { return new AttributeOverrideImpl<OneToMany<T>>(this, "map-key-attribute-override", childNode, nodeList.get(0)); } return createMapKeyAttributeOverride(); }