|
||||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||
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.
| Method Summary | |
|---|---|
boolean |
containsRelationshipRole(EJBRelationshipRole aRole)
|
java.lang.String |
getDescription()
|
EList |
getDescriptions()
Returns the value of the 'Descriptions' containment reference list. |
EJBRelationshipRole |
getFirstRole()
|
java.lang.String |
getName()
Returns the name of the CommonRelationship |
EJBRelationshipRole |
getOppositeRole(EJBRelationshipRole aRole)
Return the other role. |
Relationships |
getRelationshipList()
|
EJBRelationshipRole |
getRelationshipRole(java.lang.String aRoleName)
Return the EJBRelationshipRole with the same name as aRoleName. |
EList |
getRelationshipRoles()
|
EJBRelationshipRole |
getSecondRole()
|
void |
setDescription(java.lang.String value)
|
void |
setFoward(EJBRelationshipRole aRole)
Set the forward role. |
void |
setName(java.lang.String value)
Sets the name of the CommonRelationship |
void |
setRelationshipList(Relationships value)
|
| Methods inherited from interface org.eclipse.jst.j2ee.ejb.CommonRelationship |
|---|
getCommonRoles, getFirstCommonRole, getSecondCommonRole |
| Method Detail |
public boolean containsRelationshipRole(EJBRelationshipRole aRole)
public EJBRelationshipRole getFirstRole()
public EJBRelationshipRole getOppositeRole(EJBRelationshipRole aRole)
public EJBRelationshipRole getSecondRole()
public void setFoward(EJBRelationshipRole aRole)
public java.lang.String getDescription()
public void setDescription(java.lang.String value)
value - The new value of the Description attributepublic java.lang.String getName()
CommonRelationship
getName in interface CommonRelationshippublic void setName(java.lang.String value)
CommonRelationship
setName in interface CommonRelationshipvalue - The new value of the Name attributepublic Relationships getRelationshipList()
public void setRelationshipList(Relationships value)
public EList getRelationshipRoles()
public EList getDescriptions()
Description.
If the meaning of the 'Descriptions' containment reference list isn't clear, there really should be more of a description here...
EjbPackage.getEJBRelation_Descriptions()public EJBRelationshipRole getRelationshipRole(java.lang.String aRoleName)
aRoleName.
|
||||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||