|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.emf.common.notify.impl.BasicNotifierImpl
org.eclipse.emf.ecore.impl.BasicEObjectImpl
org.eclipse.emf.ecore.impl.EObjectImpl
org.eclipse.emf.ecore.impl.FlatEObjectImpl
org.eclipse.emf.ecore.impl.EModelElementImpl
org.eclipse.emf.ecore.impl.ENamedElementImpl
org.eclipse.emf.ecore.impl.EEnumLiteralImpl
public class EEnumLiteralImpl
An implementation of the model object 'EEnum Literal'.
The following features are implemented:
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl |
|---|
BasicEObjectImpl.EPropertiesHolder, BasicEObjectImpl.EPropertiesHolderBaseImpl, BasicEObjectImpl.EPropertiesHolderImpl |
| Nested classes/interfaces inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl |
|---|
BasicNotifierImpl.EAdapterList<E extends java.lang.Object & Adapter> |
| Nested classes/interfaces inherited from interface org.eclipse.emf.ecore.InternalEObject |
|---|
InternalEObject.EStore |
| Field Summary | |
|---|---|
protected Enumerator |
instance
The cached value of the ' Instance' attribute |
protected static Enumerator |
INSTANCE_EDEFAULT
The default value of the ' Instance' attribute |
protected java.lang.String |
literal
The cached value of the ' Literal' attribute |
protected static java.lang.String |
LITERAL_EDEFAULT
The default value of the ' Literal' attribute |
protected int |
value
The cached value of the ' Value' attribute |
protected static int |
VALUE_EDEFAULT
The default value of the ' Value' attribute |
| Fields inherited from class org.eclipse.emf.ecore.impl.ENamedElementImpl |
|---|
name, NAME_EDEFAULT |
| Fields inherited from class org.eclipse.emf.ecore.impl.EModelElementImpl |
|---|
eAnnotations, EFROZEN, ELAST_EMODEL_ELEMENT_FLAG |
| Fields inherited from class org.eclipse.emf.ecore.impl.FlatEObjectImpl |
|---|
eContents, eCrossReferences, eProxyURI |
| Fields inherited from class org.eclipse.emf.ecore.impl.EObjectImpl |
|---|
eAdapters, eContainer, eContainerFeatureID, EDELIVER, EDYNAMIC_CLASS, eFlags, ELAST_EOBJECT_FLAG, ELAST_NOTIFIER_FLAG, eProperties, EPROXY |
| Fields inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl |
|---|
EVIRTUAL_GET, EVIRTUAL_IS_SET, EVIRTUAL_NO_VALUE, EVIRTUAL_SET, EVIRTUAL_UNSET |
| Fields inherited from interface org.eclipse.emf.ecore.InternalEObject |
|---|
EOPPOSITE_FEATURE_BASE |
| Constructor Summary | |
|---|---|
protected |
EEnumLiteralImpl()
|
| Method Summary | |
|---|---|
NotificationChain |
eBasicRemoveFromContainerFeature(NotificationChain msgs)
|
java.lang.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,
java.lang.Object newValue)
|
protected EClass |
eStaticClass()
|
void |
eUnset(int featureID)
|
EEnum |
getEEnum()
|
Enumerator |
getInstance()
|
java.lang.String |
getLiteral()
Returns the literal value of the enumerator. |
java.lang.String |
getLiteralGen()
|
int |
getValue()
|
void |
setInstance(Enumerator newInstance)
Sets the value of the ' Instance' attribute |
void |
setInstanceGen(Enumerator newInstance)
|
void |
setLiteral(java.lang.String newLiteral)
|
void |
setValue(int newValue)
|
java.lang.String |
toString()
|
java.lang.String |
toStringGen()
|
| Methods inherited from class org.eclipse.emf.ecore.impl.ENamedElementImpl |
|---|
eContents, eCrossReferences, getName, getNameGen, setName |
| Methods inherited from class org.eclipse.emf.ecore.impl.EModelElementImpl |
|---|
eObjectForURIFragmentSegment, eURIFragmentSegment, freeze, freeze, getEAnnotation, getEAnnotations, isFrozen, setFrozen |
| Methods inherited from class org.eclipse.emf.ecore.impl.FlatEObjectImpl |
|---|
eIsProxy, eProperties, eProxyURI, eSetProxyURI |
| Methods inherited from class org.eclipse.emf.ecore.impl.EObjectImpl |
|---|
eAdapters, eBasicAdapters, eBasicProperties, eBasicSetContainer, eClass, eContainerFeatureID, eDeliver, eInternalContainer, eSetClass, eSetDeliver |
| Methods inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl |
|---|
eNotificationRequired, eNotify |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.eclipse.emf.ecore.ENamedElement |
|---|
getName, setName |
| Methods inherited from interface org.eclipse.emf.ecore.EModelElement |
|---|
getEAnnotation, getEAnnotations |
| Methods inherited from interface org.eclipse.emf.ecore.EObject |
|---|
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eIsProxy, eIsSet, eResource, eSet, eUnset |
| Methods inherited from interface org.eclipse.emf.common.notify.Notifier |
|---|
eAdapters, eDeliver, eNotify, eSetDeliver |
| Methods inherited from interface org.eclipse.emf.common.util.Enumerator |
|---|
getName |
| Methods inherited from interface org.eclipse.emf.ecore.InternalEObject |
|---|
eNotificationRequired |
| Field Detail |
|---|
protected static final int VALUE_EDEFAULT
Value' attribute.
getValue(),
Constant Field Valuesprotected int value
Value' attribute.
getValue()protected static final Enumerator INSTANCE_EDEFAULT
Instance' attribute.
getInstance()protected Enumerator instance
Instance' attribute.
getInstance()protected static final java.lang.String LITERAL_EDEFAULT
Literal' attribute.
getLiteral()protected java.lang.String literal
Literal' attribute.
getLiteral()| Constructor Detail |
|---|
protected EEnumLiteralImpl()
| Method Detail |
|---|
protected EClass eStaticClass()
eStaticClass in class ENamedElementImplpublic int getValue()
getValue in interface EnumeratorgetValue in interface EEnumLiteralEEnumLiteral.setValue(int),
EcorePackage.getEEnumLiteral_Value()public void setValue(int newValue)
setValue in interface EEnumLiteralnewValue - the new value of the 'Value' attribute.EEnumLiteral.getValue()public Enumerator getInstance()
getInstance in interface EEnumLiteralEEnumLiteral.setInstance(Enumerator),
EcorePackage.getEEnumLiteral_Instance()public void setInstanceGen(Enumerator newInstance)
public void setInstance(Enumerator newInstance)
EEnumLiteralInstance' attribute.
setInstance in interface EEnumLiteralnewInstance - the new value of the 'Instance' attribute.EEnumLiteral.getInstance()public java.lang.String getLiteralGen()
public java.lang.String getLiteral()
Enumerator
getLiteral in interface EnumeratorgetLiteral in interface EEnumLiteralEEnumLiteral.setLiteral(String),
EcorePackage.getEEnumLiteral_Literal()public void setLiteral(java.lang.String newLiteral)
setLiteral in interface EEnumLiteralnewLiteral - the new value of the 'Literal' attribute.EEnumLiteral.getLiteral()public EEnum getEEnum()
getEEnum in interface EEnumLiteralEcorePackage.getEEnumLiteral_EEnum(),
EEnum.getELiterals()
public NotificationChain eInverseAdd(InternalEObject otherEnd,
int featureID,
NotificationChain msgs)
eInverseAdd in class EModelElementImpl
public NotificationChain eInverseRemove(InternalEObject otherEnd,
int featureID,
NotificationChain msgs)
eInverseRemove in class EModelElementImplpublic NotificationChain eBasicRemoveFromContainerFeature(NotificationChain msgs)
eBasicRemoveFromContainerFeature in class BasicEObjectImpl
public java.lang.Object eGet(int featureID,
boolean resolve,
boolean coreType)
eGet in interface InternalEObjecteGet in class ENamedElementImplInternalEObject.eGet(EStructuralFeature, boolean, boolean)
public void eSet(int featureID,
java.lang.Object newValue)
eSet in interface InternalEObjecteSet in class ENamedElementImplEObject.eSet(EStructuralFeature, Object)public void eUnset(int featureID)
eUnset in interface InternalEObjecteUnset in class ENamedElementImplEObject.eUnset(EStructuralFeature)public boolean eIsSet(int featureID)
eIsSet in interface InternalEObjecteIsSet in class ENamedElementImplEObject.eIsSet(EStructuralFeature)public java.lang.String toString()
ENamedElementImpl
toString in class ENamedElementImplpublic java.lang.String toStringGen()
|
Copyright 2001-2006 IBM Corporation and others. All Rights Reserved. |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||