EJBRelation

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)



 

Attributes Summary

description The description is used by the ejb-jar file producer to provide text describing the ejb relation.
name The name of the relationship.
relationshipList  

 

Attribute Details


description

The description is used by the ejb-jar file producer to provide text describing the ejb relation.The description should include any information that the ejb-jar file producer wants to provide to the consumer of the ejb-jar file (i.e. to the Deployer). Typically, the tools used by the ejb-jar file consumer will display the description when processing the list of dependents.

Data type:   String
Default value:   unspecified



name

The name of the relationship. If specified, must be unique within the ejb-jar file.@invariant self.name unique within Set<collect(ejbJar.ejbRelations.name)>

Data type:   String
Default value:   unspecified



relationshipList

 

Data type: