/** * Gets the relation name. * Relation name is loaded from the ejb-relation-name element. * * @return the relation name */ public String getRelationName() { return getDelegate().getEjbRelationName(); }
/** * Gets the relation name. * Relation name is loaded from the ejb-relation-name element. * * @return the relation name */ public String getRelationName() { return getDelegate().getEjbRelationName(); }
/** * Gets the left relationship role. * The relationship role is loaded from an ejb-relationship-role. * Left/right assignment is completely arbitrary. * * @return the left role */ public RelationshipRoleMetaData getLeftRelationshipRole() { return new RelationshipRoleMetaData(getDelegate().getLeftRole()); }
/** * Gets the right relationship role. * The relationship role is loaded from an ejb-relationship-role. * Left/right assignment is completely arbitrary. * * @return the right role */ public RelationshipRoleMetaData getRightRelationshipRole() { return new RelationshipRoleMetaData(getDelegate().getRightRole()); }
/** * Gets the right relationship role. * The relationship role is loaded from an ejb-relationship-role. * Left/right assignment is completely arbitrary. * * @return the right role */ public RelationshipRoleMetaData getRightRelationshipRole() { return new RelationshipRoleMetaData(getDelegate().getRightRole()); }
/** * Gets the left relationship role. * The relationship role is loaded from an ejb-relationship-role. * Left/right assignment is completely arbitrary. * * @return the left role */ public RelationshipRoleMetaData getLeftRelationshipRole() { return new RelationshipRoleMetaData(getDelegate().getLeftRole()); }
/** * Get the related role * * @param role the reference role * @return the related role * @throws IllegalArgumentException if the reference role is not a role in this relationship */ public RelationshipRoleMetaData getOtherRelationshipRole(RelationshipRoleMetaData role) { RelationRoleMetaData delegateRole = role.getDelegate(); return new RelationshipRoleMetaData(getDelegate().getRelatedRole(delegateRole)); } }
/** * Get the related role * * @param role the reference role * @return the related role * @throws IllegalArgumentException if the reference role is not a role in this relationship */ public RelationshipRoleMetaData getOtherRelationshipRole(RelationshipRoleMetaData role) { RelationRoleMetaData delegateRole = role.getDelegate(); return new RelationshipRoleMetaData(getDelegate().getRelatedRole(delegateRole)); } }