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 String |
collectionType |
protected List<JavaClass> |
collectionTypes |
description, descriptionsidchangeable, defaultValueLiteral, derived, isTransient, isVolatile, unsettableeClassifierETypes, eType, lowerBound, ordered, unique, upperBoundnameeAnnotations| Constructor and Description |
|---|
CMRField() |
| Modifier and Type | Method and Description |
|---|---|
String |
getCollectionType()
Gets the value of the collectionType property.
|
List<JavaClass> |
getCollectionTypes()
Gets the value of the collectionTypes property.
|
void |
setCollectionType(String value)
Sets the value of the collectionType property.
|
getDescription, getDescriptions, setDescriptionisID, setIDgetDefaultValueLiteral, isChangeable, isDerived, isIsTransient, isIsVolatile, isUnsettable, setChangeable, setDefaultValueLiteral, setDerived, setIsTransient, setIsVolatile, setUnsettablegetEClassifierETypes, getEType, getLowerBound, getUpperBound, isOrdered, isUnique, setEType, setLowerBound, setOrdered, setUnique, setUpperBoundgetName, setNamegetEAnnotationsprotected String collectionType
public 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
JavaClasspublic String getCollectionType()
StringCopyright © 1999–2020 The Apache Software Foundation. All rights reserved.