public class CMPAttribute extends EAttribute
<complexType name="CMPAttribute">
<complexContent>
<extension base="{http://www.eclipse.org/emf/2002/Ecore}EAttribute">
<choice maxOccurs="unbounded" minOccurs="0">
<element name="descriptions" type="{common.xmi}Description"/>
</choice>
<attribute name="description" type="{http://www.w3.org/2001/XMLSchema}string" />
</extension>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected java.lang.String |
description |
protected java.util.List<Description> |
descriptions |
idchangeable, defaultValueLiteral, derived, isTransient, isVolatile, unsettableeClassifierETypes, eType, lowerBound, ordered, unique, upperBoundnameeAnnotations| Constructor and Description |
|---|
CMPAttribute() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getDescription()
Gets the value of the description property.
|
java.util.List<Description> |
getDescriptions()
Gets the value of the descriptions property.
|
void |
setDescription(java.lang.String value)
Sets the value of the description property.
|
isID, setIDgetDefaultValueLiteral, isChangeable, isDerived, isIsTransient, isIsVolatile, isUnsettable, setChangeable, setDefaultValueLiteral, setDerived, setIsTransient, setIsVolatile, setUnsettablegetEClassifierETypes, getEType, getLowerBound, getUpperBound, isOrdered, isUnique, setEType, setLowerBound, setOrdered, setUnique, setUpperBoundgetName, setNamegetEAnnotationsprotected java.util.List<Description> descriptions
protected java.lang.String description
public java.util.List<Description> getDescriptions()
set method for the descriptions property.
For example, to add a new item, do as follows:
getDescriptions().add(newItem);Objects of the following type(s) are allowed in the list
Descriptionpublic java.lang.String getDescription()
Stringpublic void setDescription(java.lang.String value)
value - allowed object is String