Esempio n. 1
0
 /**
  * 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);
 }
Esempio n. 2
0
 /**
  * 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);
 }