public interface EnumLiteral extends NamedElement
The following features are supported:
EcorePackage.getEnumLiteral()
Modifier and Type | Method and Description |
---|---|
Enum |
getEnum()
Returns the value of the 'Enum' container reference.
|
String |
getLiteral()
Returns the value of the 'Literal' attribute.
|
int |
getValue()
Returns the value of the 'Value' attribute.
|
void |
setEnum(Enum value)
Sets the value of the '
Enum ' container reference. |
void |
setLiteral(String value)
Sets the value of the '
Literal ' attribute. |
void |
setValue(int value)
Sets the value of the '
Value ' attribute. |
getName, setName
getAnnotations
compareTo, eExtendedClass, eIsInstanceOf, eIsInstanceOf, eIsProfiled, eIsRemoved, eMetamodel, eMetaTypeName, eModel, eRemove, eSetUniqueID, eUniqueID, superScript, superScript, toBoolean, toBoolean, toByte, toByte, toChar, toChar, toDouble, toDouble, toFloat, toFloat, toInt, toInt, toList, toList, toList, toList, toList, toLong, toLong, toObject, toObject, toSet, toSet, toShort, toShort, toString, toString
getEAnnotation, getEAnnotations
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnset
eAdapters, eDeliver, eNotify, eSetDeliver
int getValue()
setValue(int)
,
EcorePackage.getEnumLiteral_Value()
void setValue(int value)
Value
' attribute.
value
- the new value of the 'Value' attribute.getValue()
String getLiteral()
""
.
setLiteral(String)
,
EcorePackage.getEnumLiteral_Literal()
void setLiteral(String value)
Literal
' attribute.
value
- the new value of the 'Literal' attribute.getLiteral()
Enum getEnum()
Literals
'.
setEnum(com.sodius.mdw.metamodel.ecore.Enum)
,
EcorePackage.getEnumLiteral_Enum()
,
Enum.getLiterals()