|
|||||||||||
| 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
An implementation of the model object 'EEnum Literal'.
The following features are implemented:
| Nested Class Summary |
| Nested classes inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl |
BasicEObjectImpl.EPropertiesHolder, BasicEObjectImpl.EPropertiesHolderBaseImpl, BasicEObjectImpl.EPropertiesHolderImpl |
| Nested classes inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl |
BasicNotifierImpl.EAdapterList |
| Nested classes inherited from class 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 String |
literal
The cached value of the ' Literal' attribute |
protected static 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)
|
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)
|
protected EClass |
eStaticClass()
|
void |
eUnset(int featureID)
|
EEnum |
getEEnum()
|
Enumerator |
getInstance()
|
String |
getLiteral()
Returns the value of the 'Literal' attribute |
String |
getLiteralGen()
|
int |
getValue()
|
void |
setInstance(Enumerator newInstance)
Sets the value of the ' Instance' attribute |
void |
setInstanceGen(Enumerator newInstance)
|
void |
setLiteral(String newLiteral)
|
void |
setValue(int newValue)
|
String |
toString()
|
String |
toStringGen()
|
| Methods inherited from class org.eclipse.emf.ecore.impl.ENamedElementImpl |
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 |
eContents, eCrossReferences, 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 String LITERAL_EDEFAULT
Literal' attribute.
getLiteral()protected String literal
Literal' attribute.
getLiteral()| Constructor Detail |
protected EEnumLiteralImpl()
| Method Detail |
protected EClass eStaticClass()
eStaticClass in class ENamedElementImplpublic int getValue()
getValue 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 String getLiteralGen()
public String getLiteral()
EEnumLiteral
This is the literal, string value that represents this enumerator value.
This is used in persisting instances of enumerated type.
If set to null, it will return the name, instead.
getLiteral in interface EEnumLiteralEEnumLiteral.setLiteral(String),
EcorePackage.getEEnumLiteral_Literal()public void setLiteral(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 Object eGet(int featureID,
boolean resolve,
boolean coreType)
eGet in interface InternalEObjecteGet in class ENamedElementImpl
public void eSet(int featureID,
Object newValue)
eSet in interface InternalEObjecteSet in class ENamedElementImplpublic void eUnset(int featureID)
eUnset in interface InternalEObjecteUnset in class ENamedElementImplpublic boolean eIsSet(int featureID)
eIsSet in interface InternalEObjecteIsSet in class ENamedElementImplpublic String toString()
ENamedElementImpl
toString in class ENamedElementImplpublic 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 | ||||||||||