/** * 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<Entity<T>> getOrCreateAssociationOverride() { List<Node> nodeList = childNode.get("association-override"); if (nodeList != null && nodeList.size() > 0) { return new AssociationOverrideImpl<Entity<T>>(this, "association-override", childNode, nodeList.get(0)); } return createAssociationOverride(); }
/** * 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<Entity<T>> getOrCreateAssociationOverride() { List<Node> nodeList = childNode.get("association-override"); if (nodeList != null && nodeList.size() > 0) { return new AssociationOverrideImpl<Entity<T>>(this, "association-override", childNode, nodeList.get(0)); } return createAssociationOverride(); }