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 |
id
changeable, defaultValueLiteral, derived, isTransient, isVolatile, unsettable
eClassifierETypes, eType, lowerBound, ordered, unique, upperBound
name
eAnnotations
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, 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<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
Description
public java.lang.String getDescription()
String
public void setDescription(java.lang.String value)
value
- allowed object is String