|
||||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Insert the type's description here. Creation date: (10/26/2001 9:24:27 AM)
Method Summary | |
---|---|
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 |
Method Detail |
public EList getAttributes()
public CommonRelationship getCommonRelationship()
public java.lang.String getName()
public java.lang.String getRoleName()
getName()
for the name to use in code
generation.
public CommonRelationshipRole getOppositeAsCommonRole()
public ContainerManagedEntity getSourceEntity()
public ContainerManagedEntity getTypeEntity()
public boolean isForward()
public boolean isKey()
public void setKey(boolean aBoolean)
aBoolean
- the boolean valuepublic boolean isMany()
public void setUpper(int upperBound)
upperBound
- the int value of the multiplicitypublic void setLower(int lowerBound)
lowerBound
- the int value if the multiplicitypublic boolean isNavigable()
public java.lang.String getTargetAttributeName(CMPAttribute roleAttribute)
roleAttribute
- the CMPAttribute
public void reconcileAttributes()
public boolean isRequired()
|
||||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |