/** * Returns relationship with name <code>relName</code>. Will return null if no relationship with * this name exists in the entity. */ public Relationship getRelationship(String relName) { return (Relationship) relationships.get(relName); }
/** * Returns attribute with name <code>attrName</code>. Will return null if no attribute with this * name exists. */ public Attribute getAttribute(String attrName) { return (Attribute) attributes.get(attrName); }