| @since J2EE1.3 |
| The ejb-relation element describes a relationship between two entity beans with container managed persistence. An ejb-relation element contains a description; an optional ejb-relation-name element; and exactly two relationship role declarations, defined by the ejb-relationship-roles. The name of the relationship, if specified, is unique within the ejb-jar file. |
| |
| @invariant The name of the relationship, if specified, is unique within the ejb-jar file. |
| @invariant self.relationshipRoles.size == 2 |
| @invariant self.relationshipRoles[0].name != self.relationshipRoles[1].name |
| |
| @migration EJB1.1 Moved from ejbext::EjbRelationshipRole contained under ejbext::EJBJarExtension |
| @migration EJB1.1 added optional attribute, description:String |
| @migration EJB1.1 added optional attribute, name:String (May have been inherited from RefBaseObject previously) |