blob: f7dd8ccf4521401b4981c19bdb269aecdd234840 [file] [log] [blame]
@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)