EJBRelation


This type is a class for model objects.

@version 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)

Package: ejb

Classifier ID:  -1
Instance class name:  * Unspecified *
Instance class:  * Unspecified *

Reference attributes having this type:
  EJBRelationshipRole.relationship

Collection attributes having this type:
  Relationships.ejbRelations



Attributes Summary
description : EString @version J2EE1.4 deprecated, becomes descriptions 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.
name : EString The name of the relationship. If specified, must be unique within the ejb-jar file. @invariant self.name unique within Set
relationshipList : Relationships @ * No description is available *
relationshipRoles : EJBRelationshipRole + A collection containing exactly two relationship roles. @migration EJB1.1 Containment used to be by reference on relation--now by value.
descriptions : Description * @version J2EE1.4



Attribute Details

description  -  @version J2EE1.4 deprecated, becomes descriptions 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: EString
    Default value:  unspecified
    Required:  false
    Changeable:  true
    Unsettable:  false
    Many:  false
    Ordered:  true
    Lower bound:  0
    Upper bound:  1
    Unique:  true
    Derived:  false
    Transient:  false
    Volatile:  false

name  -  The name of the relationship. If specified, must be unique within the ejb-jar file. @invariant self.name unique within Set
    Data Type: EString
    Default value:  unspecified
    Required:  false
    Changeable:  true
    Unsettable:  false
    Many:  false
    Ordered:  true
    Lower bound:  0
    Upper bound:  1
    Unique:  true
    Derived:  false
    Transient:  false
    Volatile:  false

relationshipList  -  * No description is available *
    Reference Type: Relationships @
    Containment:  false
    Container:  true
    Required:  false
    Changeable:  true
    Unsettable:  false
    Many:  false
    Ordered:  true
    Lower bound:  0
    Upper bound:  1
    Unique:  true
    Derived:  false
    Transient:  true
    Volatile:  false
    Opposite: Relationships.ejbRelations

relationshipRoles  -  A collection containing exactly two relationship roles. @migration EJB1.1 Containment used to be by reference on relation--now by value.
    Reference Type: EJBRelationshipRole +
    Containment:  true
    Container:  false
    Required:  true
    Changeable:  true
    Unsettable:  false
    Many:  true
    Ordered:  true
    Lower bound:  2
    Upper bound:  2
    Unique:  true
    Derived:  false
    Transient:  false
    Volatile:  false
    Opposite: EJBRelationshipRole.relationship

descriptions  -  @version J2EE1.4
    Reference Type: Description *
    Containment:  true
    Container:  false
    Required:  false
    Changeable:  true
    Unsettable:  false
    Many:  true
    Ordered:  true
    Lower bound:  0
    Upper bound:  Unbounded
    Unique:  true
    Derived:  false
    Transient:  false
    Volatile:  false



(C) COPYRIGHT International Business Machines Corp. 1996-2006