public class EnumerationLiteralCSImpl extends NamedElementCSImpl implements EnumerationLiteralCS
The following features are implemented:
Modifier and Type | Method and Description |
---|---|
<R> R |
accept(BaseCSVisitor<R> visitor)
Accept a visit from a visitor and return the result of a call to the derived type-specific visitXXX in the visitor.
|
Object |
eGet(int featureID,
boolean resolve,
boolean coreType) |
boolean |
eIsSet(int featureID) |
void |
eSet(int featureID,
Object newValue) |
void |
eUnset(int featureID) |
String |
getLiteral() |
int |
getValue() |
void |
setLiteral(String newLiteral) |
void |
setValue(int newValue) |
String |
toString() |
getName, setName
eInverseRemove, getOriginalXmiId, getOwnedAnnotations, setOriginalXmiId
getPivot, resetPivot, setPivot
getCsi, getDescription, getParent, setCsi
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
getName, setName
getOriginalXmiId, getOwnedAnnotations, setOriginalXmiId
getPivot, setPivot
getCsi, getDescription, getParent, setCsi
eClass
resetPivot
public String getLiteral()
getLiteral
in interface EnumerationLiteralCS
EnumerationLiteralCS.setLiteral(String)
,
BaseCSPackage.getEnumerationLiteralCS_Literal()
public void setLiteral(String newLiteral)
setLiteral
in interface EnumerationLiteralCS
newLiteral
- the new value of the 'Literal' attribute.EnumerationLiteralCS.getLiteral()
public int getValue()
getValue
in interface EnumerationLiteralCS
EnumerationLiteralCS.setValue(int)
,
BaseCSPackage.getEnumerationLiteralCS_Value()
public void setValue(int newValue)
setValue
in interface EnumerationLiteralCS
newValue
- the new value of the 'Value' attribute.EnumerationLiteralCS.getValue()
public String toString()
toString
in class NamedElementCSImpl
public Object eGet(int featureID, boolean resolve, boolean coreType)
eGet
in class NamedElementCSImpl
public void eSet(int featureID, Object newValue)
eSet
in class NamedElementCSImpl
public void eUnset(int featureID)
eUnset
in class NamedElementCSImpl
public boolean eIsSet(int featureID)
eIsSet
in class NamedElementCSImpl
public <R> R accept(BaseCSVisitor<R> visitor)
accept
in interface ElementCS
accept
in interface VisitableCS
accept
in class ElementCSImpl
Copyright © 2005, 2018 IBM Corporation and others. All Rights Reserved.