|
||||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Describes the bean provider's view of a relationship. It consists of an optional description, and the name and the class type of a field in the source of a role of a relationship. The CMRField::name element corresponds to the name used for the get and set accessor methods for the relationship. The CMRField::type element is used only for collection-valued CMRFields. It specifies the type of the collection that is used (a java class name).
Method Summary | |
---|---|
JavaClass |
getCollectionType()
|
java.lang.String |
getCollectionTypeName()
Returns the java CollectionType name |
EJBRelationshipRole |
getRole()
|
void |
setCollectionType(JavaClass value)
|
void |
setCollectionTypeName(java.lang.String typeName)
Sets the java collection type name |
void |
setRole(EJBRelationshipRole value)
|
Methods inherited from interface org.eclipse.jst.j2ee.ejb.CMPAttribute |
---|
getDescription, getDescriptions, getField, getGetterName, getOriginatingType, getSetterName, getType, isCMRField, isDerived, isKey, isPrimKeyField, setDerived, setDescription, setOriginatingType |
Method Detail |
public java.lang.String getCollectionTypeName()
public void setCollectionTypeName(java.lang.String typeName)
typeName
- the name of the java collection typepublic EJBRelationshipRole getRole()
public void setRole(EJBRelationshipRole value)
value
- The new value of the Role referencepublic JavaClass getCollectionType()
public void setCollectionType(JavaClass value)
value
- The new value of the CollectionType reference
|
||||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |