public class CMRField extends CMPAttribute
<complexType name="CMRField"> <complexContent> <extension base="{ejb.xmi}CMPAttribute"> <choice maxOccurs="unbounded" minOccurs="0"> <element name="collectionType" type="{java.xmi}JavaClass"/> </choice> <attribute name="collectionType" type="{http://www.w3.org/2001/XMLSchema}string" /> </extension> </complexContent> </complexType>
Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
collectionType |
protected java.util.List<JavaClass> |
collectionTypes |
description, descriptions
id
changeable, defaultValueLiteral, derived, isTransient, isVolatile, unsettable
eClassifierETypes, eType, lowerBound, ordered, unique, upperBound
name
eAnnotations
Constructor and Description |
---|
CMRField() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getCollectionType()
Gets the value of the collectionType property.
|
java.util.List<JavaClass> |
getCollectionTypes()
Gets the value of the collectionTypes property.
|
void |
setCollectionType(java.lang.String value)
Sets the value of the collectionType property.
|
getDescription, getDescriptions, setDescription
isID, setID
getDefaultValueLiteral, isChangeable, isDerived, isIsTransient, isIsVolatile, isUnsettable, setChangeable, setDefaultValueLiteral, setDerived, setIsTransient, setIsVolatile, setUnsettable
getEClassifierETypes, getEType, getLowerBound, getUpperBound, isOrdered, isUnique, setEType, setLowerBound, setOrdered, setUnique, setUpperBound
getName, setName
getEAnnotations
protected java.util.List<JavaClass> collectionTypes
protected java.lang.String collectionType
public java.util.List<JavaClass> getCollectionTypes()
set
method for the collectionTypes property.
For example, to add a new item, do as follows:
getCollectionTypes().add(newItem);Objects of the following type(s) are allowed in the list
JavaClass
public java.lang.String getCollectionType()
String
public void setCollectionType(java.lang.String value)
value
- allowed object is String