org.eclipse.ocl.examples.library.ecore
Class EcoreReflectiveEnumeration

java.lang.Object
  extended by org.eclipse.ocl.examples.domain.types.AbstractInheritance
      extended by org.eclipse.ocl.examples.library.executor.ReflectiveType
          extended by org.eclipse.ocl.examples.library.ecore.EcoreReflectiveType
              extended by org.eclipse.ocl.examples.library.ecore.EcoreReflectiveEnumeration
All Implemented Interfaces:
DomainElement, DomainEnumeration, DomainInheritance, DomainNamedElement, DomainNamespace, DomainType, Nameable, OCLValue

public class EcoreReflectiveEnumeration
extends EcoreReflectiveType
implements DomainEnumeration


Nested Class Summary
 
Nested classes/interfaces inherited from class org.eclipse.ocl.examples.domain.types.AbstractInheritance
AbstractInheritance.FragmentIterable
 
Field Summary
 
Fields inherited from class org.eclipse.ocl.examples.library.ecore.EcoreReflectiveType
eClassifier, EMPTY_INHERITANCES, typeParameters
 
Fields inherited from class org.eclipse.ocl.examples.domain.types.AbstractInheritance
evaluationPackage, flags, name, operationMap, ORDERED, propertyMap, UNIQUE
 
Fields inherited from interface org.eclipse.ocl.examples.domain.elements.DomainInheritance
EMPTY_ARRAY
 
Constructor Summary
EcoreReflectiveEnumeration(EcoreReflectivePackage evaluationPackage, int flags, org.eclipse.emf.ecore.EEnum eEnum, DomainTemplateParameter... typeParameters)
           
 
Method Summary
 EnumerationId getEnumerationId()
           
 DomainEnumerationLiteral getEnumerationLiteral(java.lang.String name)
           
 java.lang.Iterable<? extends DomainEnumerationLiteral> getEnumerationLiterals()
           
protected  java.util.Map<java.lang.String,DomainEnumerationLiteral> initLiterals()
           
 
Methods inherited from class org.eclipse.ocl.examples.library.ecore.EcoreReflectiveType
createFragment, createInstance, createInstance, getAllOperations, getAllProperties, getEClassifier, getInitialSuperInheritances, getLocalOperations, getLocalProperties, getLocalSuperTypes, getMemberProperty, getMetaTypeName, getOwnedAttribute, getOwnedOperation, getStandardLibrary, getTypeParameters
 
Methods inherited from class org.eclipse.ocl.examples.library.executor.ReflectiveType
addSubInheritance, computeFlags, dispose, gatherUninstalledInheritances, getAllSuperFragments, getDepth, getFragment, getFragments, getIndex, getIndexes, getSelfFragment, getSuperFragments, getType, getTypeId, initialize, install, installOclAny, isInstallable, isInstalled, removeSubInheritance, uninstall
 
Methods inherited from class org.eclipse.ocl.examples.domain.types.AbstractInheritance
conformsTo, getCommonInheritance, getCommonType, getFragment, getInheritance, getMemberOperation, getName, getNormalizedType, getOclAnyInheritance, getOwnedInvariant, getOwnedRule, getPackage, initStatics, isEqualTo, isEqualToUnspecializedType, isInvalid, isOrdered, isSubInheritanceOf, isSuperInheritanceOf, isUndefined, isUnique, lookupImplementation, lookupLocalOperation, oclEquals, oclHashCode, specializeIn, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.eclipse.ocl.examples.domain.elements.DomainType
conformsTo, createInstance, createInstance, getCommonType, getInheritance, getLocalOperations, getLocalProperties, getLocalSuperTypes, getMetaTypeName, getName, getNormalizedType, getOwnedAttribute, getOwnedInvariant, getOwnedOperation, getPackage, getTypeId, getTypeParameters, isEqualTo, isEqualToUnspecializedType, isInvalid, isOrdered, isUnique, lookupImplementation, specializeIn
 
Methods inherited from interface org.eclipse.ocl.examples.domain.elements.DomainNamespace
getOwnedRule
 
Methods inherited from interface org.eclipse.ocl.examples.domain.values.OCLValue
oclEquals, oclHashCode
 

Constructor Detail

EcoreReflectiveEnumeration

public EcoreReflectiveEnumeration(@NonNull
                                  EcoreReflectivePackage evaluationPackage,
                                  int flags,
                                  @NonNull
                                  org.eclipse.emf.ecore.EEnum eEnum,
                                  @NonNull
                                  DomainTemplateParameter... typeParameters)
Method Detail

getEnumerationLiteral

@Nullable
public DomainEnumerationLiteral getEnumerationLiteral(@NonNull
                                                               java.lang.String name)
Specified by:
getEnumerationLiteral in interface DomainEnumeration

getEnumerationId

@NonNull
public EnumerationId getEnumerationId()
Specified by:
getEnumerationId in interface DomainEnumeration

getEnumerationLiterals

@NonNull
public java.lang.Iterable<? extends DomainEnumerationLiteral> getEnumerationLiterals()
Specified by:
getEnumerationLiterals in interface DomainEnumeration

initLiterals

@NonNull
protected java.util.Map<java.lang.String,DomainEnumerationLiteral> initLiterals()