public class EnumerationLiteralImpl extends InstanceSpecificationImpl implements EnumerationLiteral
The following features are implemented:
Modifier and Type | Method and Description |
---|---|
<R> R |
accept(Visitor<R> visitor)
Accept a visit from a visitor and return the result of a call to the derived type-specific visitXXX in the visitor.
|
NotificationChain |
basicSetOwningEnumeration(Enumeration newOwningEnumeration,
NotificationChain msgs) |
NotificationChain |
eBasicRemoveFromContainerFeature(NotificationChain msgs) |
Object |
eGet(int featureID,
boolean resolve,
boolean coreType) |
NotificationChain |
eInverseAdd(InternalEObject otherEnd,
int featureID,
NotificationChain msgs) |
NotificationChain |
eInverseRemove(InternalEObject otherEnd,
int featureID,
NotificationChain msgs) |
boolean |
eIsSet(int featureID) |
void |
eSet(int featureID,
Object newValue) |
void |
eUnset(int featureID) |
EnumerationLiteralId |
getEnumerationLiteralId() |
Enumerator |
getEnumerator() |
String |
getLiteral() |
Enumeration |
getOwningEnumeration() |
Number |
getValue() |
void |
setLiteral(String newLiteral) |
void |
setOwningEnumeration(Enumeration newOwningEnumeration) |
void |
setValue(Number newValue) |
String |
toString() |
basicSetOwnedSpecification, basicSetOwningPackage, getClasses, getOwnedSlots, getOwnedSpecification, getOwningPackage, setOwnedSpecification, setOwningPackage
getName, setName
allOwnedElements, eInvoke, getAnnotatingComments, getOwnedAnnotations, getOwnedComments, getOwnedExtensions, getValue
getESObject, getETarget, getImage, getTarget, getText, setESObject, setTarget, unloaded
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
getClasses, getOwnedSlots, getOwnedSpecification, getOwningPackage, setOwnedSpecification, setOwningPackage
getName, setName
allOwnedElements, getAnnotatingComments, getESObject, getETarget, getOwnedAnnotations, getOwnedComments, getOwnedExtensions, getValue
public String getLiteral()
getLiteral
in interface EnumerationLiteral
EnumerationLiteral.setLiteral(String)
,
PivotPackage.getEnumerationLiteral_Literal()
public void setLiteral(String newLiteral)
setLiteral
in interface EnumerationLiteral
newLiteral
- the new value of the 'Literal' attribute.EnumerationLiteral.getLiteral()
public Enumeration getOwningEnumeration()
getOwningEnumeration
in interface EnumerationLiteral
EnumerationLiteral.setOwningEnumeration(Enumeration)
,
PivotPackage.getEnumerationLiteral_OwningEnumeration()
,
Enumeration.getOwnedLiterals()
public NotificationChain basicSetOwningEnumeration(Enumeration newOwningEnumeration, NotificationChain msgs)
public void setOwningEnumeration(Enumeration newOwningEnumeration)
setOwningEnumeration
in interface EnumerationLiteral
newOwningEnumeration
- the new value of the 'Owning Enumeration' container reference.EnumerationLiteral.getOwningEnumeration()
public Number getValue()
getValue
in interface EnumerationLiteral
EnumerationLiteral.setValue(Number)
,
PivotPackage.getEnumerationLiteral_Value()
public void setValue(Number newValue)
setValue
in interface EnumerationLiteral
newValue
- the new value of the 'Value' attribute.EnumerationLiteral.getValue()
public NotificationChain eInverseAdd(InternalEObject otherEnd, int featureID, NotificationChain msgs)
eInverseAdd
in class InstanceSpecificationImpl
public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs)
eInverseRemove
in class InstanceSpecificationImpl
public NotificationChain eBasicRemoveFromContainerFeature(NotificationChain msgs)
eBasicRemoveFromContainerFeature
in class InstanceSpecificationImpl
public Object eGet(int featureID, boolean resolve, boolean coreType)
eGet
in class InstanceSpecificationImpl
public void eSet(int featureID, Object newValue)
eSet
in class InstanceSpecificationImpl
public void eUnset(int featureID)
eUnset
in class InstanceSpecificationImpl
public boolean eIsSet(int featureID)
eIsSet
in class InstanceSpecificationImpl
public String toString()
toString
in class NamedElementImpl
public <R> R accept(Visitor<R> visitor)
InstanceSpecificationImpl
public Enumerator getEnumerator()
getEnumerator
in interface EnumerationLiteral
public EnumerationLiteralId getEnumerationLiteralId()
getEnumerationLiteralId
in interface EnumerationLiteral
Copyright © 2005, 2018 IBM Corporation and others. All Rights Reserved.