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