public interface XEnumLiteral extends XNamedElement
The following features are supported:
XcorePackage.getXEnumLiteral()
Modifier and Type | Method and Description |
---|---|
XEnum |
getEnum()
Returns the value of the 'Enum' container reference.
|
java.lang.String |
getLiteral()
Returns the value of the 'Literal' attribute
|
int |
getValue()
Returns the value of the 'Value' attribute
|
void |
setLiteral(java.lang.String value)
Sets the value of the '
Literal ' attribute |
void |
setValue(int value)
Sets the value of the '
Value ' attribute |
getName, setName
getAnnotation, getAnnotations
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnset
eAdapters, eDeliver, eNotify, eSetDeliver
int getValue()
If the meaning of the 'Value' attribute isn't clear, there really should be more of a description here...
setValue(int)
,
XcorePackage.getXEnumLiteral_Value()
void setValue(int value)
Value
' attribute.
value
- the new value of the 'Value' attribute.getValue()
java.lang.String getLiteral()
If the meaning of the 'Literal' attribute isn't clear, there really should be more of a description here...
setLiteral(String)
,
XcorePackage.getXEnumLiteral_Literal()
void setLiteral(java.lang.String value)
Literal
' attribute.
value
- the new value of the 'Literal' attribute.getLiteral()
XEnum getEnum()
Literals
'.
If the meaning of the 'Enum' container reference isn't clear, there really should be more of a description here...
XcorePackage.getXEnumLiteral_Enum()
,
XEnum.getLiterals()