Class EnumerationImpl
- java.lang.Object
-
- org.eclipse.emf.common.notify.impl.BasicNotifierImpl
-
- org.eclipse.emf.ecore.impl.BasicEObjectImpl
-
- org.eclipse.emf.ecore.impl.MinimalEObjectImpl
-
- org.emftext.language.java.commons.impl.CommentableImpl
-
- org.emftext.language.java.types.impl.TypeImpl
-
- org.emftext.language.java.classifiers.impl.ClassifierImpl
-
- org.emftext.language.java.classifiers.impl.ConcreteClassifierImpl
-
- org.emftext.language.java.classifiers.impl.EnumerationImpl
-
- All Implemented Interfaces:
Notifier
,EObject
,EStructuralFeature.Internal.DynamicValueHolder
,InternalEObject
,Classifier
,ConcreteClassifier
,Enumeration
,Implementor
,Commentable
,NamedElement
,TypeParametrizable
,Member
,MemberContainer
,AnnotableAndModifiable
,ReferenceableElement
,Statement
,Type
public class EnumerationImpl extends ConcreteClassifierImpl implements Enumeration
An implementation of the model object 'Enumeration'.The following features are implemented:
- Generated class or method.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.eclipse.emf.ecore.impl.MinimalEObjectImpl
MinimalEObjectImpl.Container
-
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 Object & Adapter>, BasicNotifierImpl.EObservableAdapterList, BasicNotifierImpl.EScannableAdapterList
-
Nested classes/interfaces inherited from interface org.eclipse.emf.ecore.InternalEObject
InternalEObject.EStore
-
-
Field Summary
Fields Modifier and Type Field Description protected EList<EnumConstant>
constants
The cached value of the 'Constants
' containment reference list.protected EList<TypeReference>
implements_
The cached value of the 'Implements
' containment reference list.-
Fields inherited from class org.emftext.language.java.classifiers.impl.ConcreteClassifierImpl
annotationsAndModifiers, defaultMembers, members, package_, typeParameters
-
Fields inherited from class org.emftext.language.java.classifiers.impl.ClassifierImpl
name, NAME_EDEFAULT
-
Fields inherited from class org.emftext.language.java.commons.impl.CommentableImpl
layoutInformations
-
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.EStructuralFeature.Internal.DynamicValueHolder
NIL
-
Fields inherited from interface org.eclipse.emf.ecore.InternalEObject
EOPPOSITE_FEATURE_BASE
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
EnumerationImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
eBaseStructuralFeatureID(int derivedFeatureID, Class<?> baseClass)
int
eDerivedStructuralFeatureID(int baseFeatureID, Class<?> baseClass)
Object
eGet(int featureID, boolean resolve, boolean coreType)
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)
EList<ConcreteClassifier>
getAllSuperClassifiers()
EList<EnumConstant>
getConstants()
EnumConstant
getContainedConstant(String name)
EList<TypeReference>
getImplements()
-
Methods inherited from class org.emftext.language.java.classifiers.impl.ConcreteClassifierImpl
addModifier, basicGetPackage, createField, getAllInnerClassifiers, getAllMembers, getAnnotationInstances, getAnnotationsAndModifiers, getConstructors, getContainedClassifier, getContainedField, getContainedMethod, getDefaultMembers, getFields, getInnerClassifiers, getMembers, getMembersByName, getMethods, getModifiers, getPackage, getQualifiedName, getSuperTypeReferences, getTypeParameters, hasModifier, isHidden, isJavaLangObject, isPrivate, isProtected, isPublic, isStatic, makePrivate, makeProtected, makePublic, removeAllModifiers, removeMethods, removeModifier, setPackage
-
Methods inherited from class org.emftext.language.java.classifiers.impl.ClassifierImpl
addImport, addPackageImport, getName, setName, toString
-
Methods inherited from class org.emftext.language.java.types.impl.TypeImpl
equalsType, isSuperType
-
Methods inherited from class org.emftext.language.java.commons.impl.CommentableImpl
addAfterContainingStatement, addBeforeContainingStatement, getAnnotationInterface, getChildrenByEType, getChildrenByType, getClassClass, getConcreteClassifier, getConcreteClassifiers, getContainingAnnotationInstance, getContainingAnonymousClass, getContainingCompilationUnit, getContainingConcreteClassifier, getContainingContainerName, getContainingPackageName, getFirstChildByEType, getFirstChildByType, getLayoutInformations, getLibClass, getLibInterface, getObjectClass, getParentByEType, getParentByType, getParentConcreteClassifier, getStringClass
-
Methods inherited from class org.eclipse.emf.ecore.impl.MinimalEObjectImpl
dynamicGet, dynamicSet, dynamicUnset, eAdapters, eBasicAdapterArray, eBasicAdapterListeners, eBasicAdapters, eBasicHasAdapters, eBasicProperties, eBasicSetAdapterArray, eBasicSetAdapterListeners, eBasicSetContainer, eBasicSetContainer, eBasicSetContainerFeatureID, eBasicSetSettings, eBasicSettings, eClass, eContainerFeatureID, eContents, eCrossReferences, eDeliver, eDirectResource, eDynamicClass, eHasSettings, eInternalContainer, eIsProxy, eProperties, eProxyURI, eSetClass, eSetDeliver, eSetDirectResource, eSetProxyURI, eSettings
-
Methods inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl
eAddVirtualValue, eAllContents, eBasicRemoveFromContainer, eBasicRemoveFromContainerFeature, eBasicSetContainer, eComputeVirtualValuesCapacity, eContainer, eContainerAdapterArray, eContainingFeature, eContainmentFeature, eContainmentFeature, eContains, eDerivedOperationID, eDerivedOperationID, eDerivedStructuralFeatureID, eDynamicBasicRemoveFromContainer, eDynamicFeature, eDynamicFeatureID, eDynamicGet, eDynamicGet, eDynamicGet, eDynamicInverseAdd, eDynamicInverseAdd, eDynamicInverseRemove, eDynamicInverseRemove, eDynamicInvoke, eDynamicInvoke, eDynamicIsSet, eDynamicIsSet, eDynamicIsSet, eDynamicSet, eDynamicSet, eDynamicSet, eDynamicUnset, eDynamicUnset, eDynamicUnset, eGet, eGet, eGet, eInternalResource, eInverseAdd, eInverseAdd, eInverseRemove, eInvocationDelegate, eInvoke, eInvoke, eIsSet, eObjectForURIFragmentSegment, eOpenGet, eOpenIsSet, eOpenSet, eOpenUnset, eRemoveVirtualValue, eResolveProxy, eResource, eSet, eSetResource, eSetStore, eSetting, eSettingDelegate, eSetVirtualIndexBits, eSetVirtualValue, eSetVirtualValues, eStaticFeatureCount, eStaticOperationCount, eStore, eUnset, eURIFragmentSegment, eVirtualBitCount, eVirtualGet, eVirtualGet, eVirtualIndex, eVirtualIndexBits, eVirtualIsSet, eVirtualSet, eVirtualUnset, eVirtualValue, eVirtualValues
-
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.emftext.language.java.modifiers.AnnotableAndModifiable
addModifier, getAnnotationInstances, getAnnotationsAndModifiers, getModifiers, hasModifier, isHidden, isPrivate, isProtected, isPublic, isStatic, makePrivate, makeProtected, makePublic, removeAllModifiers, removeModifier
-
Methods inherited from interface org.emftext.language.java.classifiers.Classifier
addImport, addPackageImport
-
Methods inherited from interface org.emftext.language.java.commons.Commentable
addAfterContainingStatement, addBeforeContainingStatement, getAnnotationInterface, getChildrenByEType, getChildrenByType, getClassClass, getConcreteClassifier, getConcreteClassifiers, getContainingAnnotationInstance, getContainingAnonymousClass, getContainingCompilationUnit, getContainingConcreteClassifier, getContainingContainerName, getContainingPackageName, getFirstChildByEType, getFirstChildByType, getLayoutInformations, getLibClass, getLibInterface, getObjectClass, getParentByEType, getParentByType, getParentConcreteClassifier, getStringClass
-
Methods inherited from interface org.emftext.language.java.classifiers.ConcreteClassifier
getAllInnerClassifiers, getAllMembers, getInnerClassifiers, getPackage, getQualifiedName, getSuperTypeReferences, isJavaLangObject, setPackage
-
Methods inherited from interface org.eclipse.emf.ecore.EObject
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnset
-
Methods inherited from interface org.eclipse.emf.ecore.InternalEObject
eNotificationRequired
-
Methods inherited from interface org.emftext.language.java.members.MemberContainer
createField, getConstructors, getContainedClassifier, getContainedField, getContainedMethod, getDefaultMembers, getFields, getMembers, getMembersByName, getMethods, removeMethods
-
Methods inherited from interface org.emftext.language.java.commons.NamedElement
getName, setName
-
Methods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
-
Methods inherited from interface org.emftext.language.java.types.Type
equalsType, isSuperType
-
Methods inherited from interface org.emftext.language.java.generics.TypeParametrizable
getTypeParameters
-
-
-
-
Field Detail
-
implements_
protected EList<TypeReference> implements_
The cached value of the 'Implements
' containment reference list.- See Also:
getImplements()
- Generated class or method.
- Ordered collection.
-
constants
protected EList<EnumConstant> constants
The cached value of the 'Constants
' containment reference list.- See Also:
getConstants()
- Generated class or method.
- Ordered collection.
-
-
Method Detail
-
eStaticClass
protected EClass eStaticClass()
- Overrides:
eStaticClass
in classConcreteClassifierImpl
- Generated class or method.
-
getImplements
public EList<TypeReference> getImplements()
- Specified by:
getImplements
in interfaceImplementor
- Returns:
- the value of the 'Implements' containment reference list.
- See Also:
ClassifiersPackage.getImplementor_Implements()
- Generated class or method.
-
getConstants
public EList<EnumConstant> getConstants()
- Specified by:
getConstants
in interfaceEnumeration
- Returns:
- the value of the 'Constants' containment reference list.
- See Also:
ClassifiersPackage.getEnumeration_Constants()
- Generated class or method.
-
getAllSuperClassifiers
public EList<ConcreteClassifier> getAllSuperClassifiers()
- Specified by:
getAllSuperClassifiers
in interfaceClassifier
- Specified by:
getAllSuperClassifiers
in interfaceEnumeration
- Overrides:
getAllSuperClassifiers
in classClassifierImpl
- Generated class or method.
-
getContainedConstant
public EnumConstant getContainedConstant(String name)
- Specified by:
getContainedConstant
in interfaceEnumeration
- Generated class or method.
-
eInverseRemove
public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs)
- Overrides:
eInverseRemove
in classConcreteClassifierImpl
- Generated class or method.
-
eGet
public Object eGet(int featureID, boolean resolve, boolean coreType)
- Specified by:
eGet
in interfaceInternalEObject
- Overrides:
eGet
in classConcreteClassifierImpl
- Generated class or method.
-
eSet
public void eSet(int featureID, Object newValue)
- Specified by:
eSet
in interfaceInternalEObject
- Overrides:
eSet
in classConcreteClassifierImpl
- Generated class or method.
-
eUnset
public void eUnset(int featureID)
- Specified by:
eUnset
in interfaceInternalEObject
- Overrides:
eUnset
in classConcreteClassifierImpl
- Generated class or method.
-
eIsSet
public boolean eIsSet(int featureID)
- Specified by:
eIsSet
in interfaceInternalEObject
- Overrides:
eIsSet
in classConcreteClassifierImpl
- Generated class or method.
-
eBaseStructuralFeatureID
public int eBaseStructuralFeatureID(int derivedFeatureID, Class<?> baseClass)
- Specified by:
eBaseStructuralFeatureID
in interfaceInternalEObject
- Overrides:
eBaseStructuralFeatureID
in classConcreteClassifierImpl
- Generated class or method.
-
eDerivedStructuralFeatureID
public int eDerivedStructuralFeatureID(int baseFeatureID, Class<?> baseClass)
- Specified by:
eDerivedStructuralFeatureID
in interfaceInternalEObject
- Overrides:
eDerivedStructuralFeatureID
in classConcreteClassifierImpl
- Generated class or method.
-
-