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>constantsThe 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 protectedEnumerationImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description inteBaseStructuralFeatureID(int derivedFeatureID, Class<?> baseClass)inteDerivedStructuralFeatureID(int baseFeatureID, Class<?> baseClass)ObjecteGet(int featureID, boolean resolve, boolean coreType)NotificationChaineInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs)booleaneIsSet(int featureID)voideSet(int featureID, Object newValue)protected EClasseStaticClass()voideUnset(int featureID)EList<ConcreteClassifier>getAllSuperClassifiers()EList<EnumConstant>getConstants()EnumConstantgetContainedConstant(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:
eStaticClassin classConcreteClassifierImpl- Generated class or method.
-
getImplements
public EList<TypeReference> getImplements()
- Specified by:
getImplementsin 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:
getConstantsin 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:
getAllSuperClassifiersin interfaceClassifier- Specified by:
getAllSuperClassifiersin interfaceEnumeration- Overrides:
getAllSuperClassifiersin classClassifierImpl- Generated class or method.
-
getContainedConstant
public EnumConstant getContainedConstant(String name)
- Specified by:
getContainedConstantin interfaceEnumeration- Generated class or method.
-
eInverseRemove
public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs)
- Overrides:
eInverseRemovein classConcreteClassifierImpl- Generated class or method.
-
eGet
public Object eGet(int featureID, boolean resolve, boolean coreType)
- Specified by:
eGetin interfaceInternalEObject- Overrides:
eGetin classConcreteClassifierImpl- Generated class or method.
-
eSet
public void eSet(int featureID, Object newValue)- Specified by:
eSetin interfaceInternalEObject- Overrides:
eSetin classConcreteClassifierImpl- Generated class or method.
-
eUnset
public void eUnset(int featureID)
- Specified by:
eUnsetin interfaceInternalEObject- Overrides:
eUnsetin classConcreteClassifierImpl- Generated class or method.
-
eIsSet
public boolean eIsSet(int featureID)
- Specified by:
eIsSetin interfaceInternalEObject- Overrides:
eIsSetin classConcreteClassifierImpl- Generated class or method.
-
eBaseStructuralFeatureID
public int eBaseStructuralFeatureID(int derivedFeatureID, Class<?> baseClass)- Specified by:
eBaseStructuralFeatureIDin interfaceInternalEObject- Overrides:
eBaseStructuralFeatureIDin classConcreteClassifierImpl- Generated class or method.
-
eDerivedStructuralFeatureID
public int eDerivedStructuralFeatureID(int baseFeatureID, Class<?> baseClass)- Specified by:
eDerivedStructuralFeatureIDin interfaceInternalEObject- Overrides:
eDerivedStructuralFeatureIDin classConcreteClassifierImpl- Generated class or method.
-
-