EJBRelation

@since J2EE1.3The 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 : String@since J2EE1.
name : StringThe name of the relationship.
relationshipList :   
descriptions : Description * @since J2EE1.

Attribute Details

description    -    @since J2EE1.4 deprecated, becomes descriptionsThe 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: 



descriptions    -    @since J2EE1.4
     data type: Description*


Copyright IBM Corp. 1997-2004