|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface CommonRelationshipRole
Insert the type's description here. Creation date: (10/26/2001 9:24:27 AM)
Method Summary | |
---|---|
org.eclipse.emf.common.util.EList |
getAttributes()
Return the persistentAttributes from my Entity that are used by this role. |
CommonRelationship |
getCommonRelationship()
Return our parent relationship as a CommonRelationship |
java.lang.String |
getName()
Defines a name for a role that is unique within an ejb-relation. |
CommonRelationshipRole |
getOppositeAsCommonRole()
Return the other role. |
java.lang.String |
getRoleName()
Return the actual name of this role. |
ContainerManagedEntity |
getSourceEntity()
|
java.lang.String |
getTargetAttributeName(CMPAttribute roleAttribute)
Gets the attribute name of a given CMPAttribute |
ContainerManagedEntity |
getTypeEntity()
Compute the ContainerManagedEntity which is the type of a role that participates in a relationship. |
boolean |
isForward()
|
boolean |
isKey()
Returns true if this is a key |
boolean |
isMany()
|
boolean |
isNavigable()
|
boolean |
isRequired()
Method isRequired. |
void |
reconcileAttributes()
Collects the attributes |
void |
setKey(boolean aBoolean)
This method should be used as a hint about the key status of the role. |
void |
setLower(int lowerBound)
sets the lower limit of our multiplicity |
void |
setUpper(int upperBound)
sets the upper limit of our multiplicity |
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 |
---|
org.eclipse.emf.common.util.EList getAttributes()
CommonRelationship getCommonRelationship()
java.lang.String getName()
java.lang.String getRoleName()
getName()
for the name to use in code
generation.
CommonRelationshipRole getOppositeAsCommonRole()
ContainerManagedEntity getSourceEntity()
ContainerManagedEntity getTypeEntity()
boolean isForward()
boolean isKey()
void setKey(boolean aBoolean)
aBoolean
- the boolean valueboolean isMany()
void setUpper(int upperBound)
upperBound
- the int value of the multiplicityvoid setLower(int lowerBound)
lowerBound
- the int value if the multiplicityboolean isNavigable()
java.lang.String getTargetAttributeName(CMPAttribute roleAttribute)
roleAttribute
- the CMPAttribute
void reconcileAttributes()
boolean isRequired()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |