|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface 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.
Method Summary | |
---|---|
boolean |
containsRelationshipRole(EJBRelationshipRole aRole)
|
java.lang.String |
getDescription()
|
org.eclipse.emf.common.util.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 . |
org.eclipse.emf.common.util.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.emf.ecore.EObject |
---|
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eIsProxy, eIsSet, eResource, eSet, eUnset |
Methods inherited from interface org.eclipse.emf.common.notify.Notifier |
---|
eAdapters, eDeliver, eNotify, eSetDeliver |
Methods inherited from interface org.eclipse.jst.j2ee.ejb.CommonRelationship |
---|
getCommonRoles, getFirstCommonRole, getSecondCommonRole |
Methods inherited from interface org.eclipse.emf.ecore.EObject |
---|
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eIsProxy, eIsSet, eResource, eSet, eUnset |
Methods inherited from interface org.eclipse.emf.common.notify.Notifier |
---|
eAdapters, eDeliver, eNotify, eSetDeliver |
Method Detail |
---|
boolean containsRelationshipRole(EJBRelationshipRole aRole)
EJBRelationshipRole getFirstRole()
EJBRelationshipRole getOppositeRole(EJBRelationshipRole aRole)
EJBRelationshipRole getSecondRole()
void setFoward(EJBRelationshipRole aRole)
java.lang.String getDescription()
void setDescription(java.lang.String value)
value
- The new value of the Description attributejava.lang.String getName()
CommonRelationship
getName
in interface CommonRelationship
void setName(java.lang.String value)
CommonRelationship
setName
in interface CommonRelationship
value
- The new value of the Name attributeRelationships getRelationshipList()
void setRelationshipList(Relationships value)
l
- The new value of the RelationshipList referenceorg.eclipse.emf.common.util.EList getRelationshipRoles()
org.eclipse.emf.common.util.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()
EJBRelationshipRole getRelationshipRole(java.lang.String aRoleName)
aRoleName
.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |