public class CMRField extends CMPAttribute
Java class for CMRField complex type.
The following schema fragment specifies the expected content contained within this class.
<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()
This accessor method returns a reference to the live list, not a
snapshot. Therefore any modification you make to the returned list will
be present inside the JAXB object. This is why there is not a
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 String getCollectionType()
StringCopyright © 1999-2014 The Apache Software Foundation. All Rights Reserved.