|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface CMRField
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).
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface org.eclipse.emf.ecore.EStructuralFeature |
---|
org.eclipse.emf.ecore.EStructuralFeature.Internal, org.eclipse.emf.ecore.EStructuralFeature.Setting |
Field Summary |
---|
Fields inherited from interface org.eclipse.emf.ecore.ETypedElement |
---|
UNBOUNDED_MULTIPLICITY, UNSPECIFIED_MULTIPLICITY |
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 |
Methods inherited from interface org.eclipse.emf.ecore.EAttribute |
---|
getEAttributeType, isID, setID |
Methods inherited from interface org.eclipse.emf.ecore.EStructuralFeature |
---|
getContainerClass, getDefaultValue, getDefaultValueLiteral, getEContainingClass, getFeatureID, isChangeable, isTransient, isUnsettable, isVolatile, setChangeable, setDefaultValue, setDefaultValueLiteral, setTransient, setUnsettable, setVolatile |
Methods inherited from interface org.eclipse.emf.ecore.ETypedElement |
---|
getEGenericType, getEType, getLowerBound, getUpperBound, isMany, isOrdered, isRequired, isUnique, setEGenericType, setEType, setLowerBound, setOrdered, setUnique, setUpperBound |
Methods inherited from interface org.eclipse.emf.ecore.ENamedElement |
---|
getName, setName |
Methods inherited from interface org.eclipse.emf.ecore.EModelElement |
---|
getEAnnotation, getEAnnotations |
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 |
---|
java.lang.String getCollectionTypeName()
void setCollectionTypeName(java.lang.String typeName)
typeName
- the name of the java collection typeEJBRelationshipRole getRole()
void setRole(EJBRelationshipRole value)
value
- The new value of the Role referenceJavaClass getCollectionType()
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 |