Interface Enumeration
-
- All Superinterfaces:
AnnotableAndModifiable
,Classifier
,Commentable
,ConcreteClassifier
,EObject
,Implementor
,Member
,MemberContainer
,NamedElement
,Notifier
,ReferenceableElement
,Statement
,Type
,TypeParametrizable
- All Known Implementing Classes:
EnumerationImpl
public interface Enumeration extends ConcreteClassifier, Implementor
A representation of the model object 'Enumeration'.The following features are supported:
- See Also:
ClassifiersPackage.getEnumeration()
- Generated class or method.
- EMF model class or method.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description EList<ConcreteClassifier>
getAllSuperClassifiers()
EList<EnumConstant>
getConstants()
Returns the value of the 'Constants' containment reference list.EnumConstant
getContainedConstant(String name)
-
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.emftext.language.java.classifiers.Implementor
getImplements
-
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
-
-
-
-
Method Detail
-
getConstants
EList<EnumConstant> getConstants()
Returns the value of the 'Constants' containment reference list. The list contents are of typeEnumConstant
.- Returns:
- the value of the 'Constants' containment reference list.
- See Also:
ClassifiersPackage.getEnumeration_Constants()
- Generated class or method.
- EMF model class or method.
- containment="true" resolveProxies="true"
-
getAllSuperClassifiers
EList<ConcreteClassifier> getAllSuperClassifiers()
- Specified by:
getAllSuperClassifiers
in interfaceClassifier
- Generated class or method.
- EMF model class or method.
- kind="operation"
-
getContainedConstant
EnumConstant getContainedConstant(String name)
- Generated class or method.
- EMF model class or method.
-
-