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 String |
description |
protected List<Description> |
descriptions |
idchangeable, defaultValueLiteral, derived, isTransient, isVolatile, unsettableeClassifierETypes, eType, lowerBound, ordered, unique, upperBoundnameeAnnotations| Constructor and Description |
|---|
CMPAttribute() |
| Modifier and Type | Method and Description |
|---|---|
String |
getDescription()
Gets the value of the description property.
|
List<Description> |
getDescriptions()
Gets the value of the descriptions property.
|
void |
setDescription(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 List<Description> descriptions
protected String description
public 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 String getDescription()
StringCopyright © 1999–2017 The Apache Software Foundation. All rights reserved.