public class EcoreExecutorEnumeration extends EcoreExecutorType implements DomainEnumeration
AbstractInheritance.FragmentIterable, AbstractInheritance.RejectStaticOperation, AbstractInheritance.RejectStaticProperty, AbstractInheritance.SelectStaticOperation, AbstractInheritance.SelectStaticPropertyeClassifierevaluationPackage, flags, name, operationMap, ORDERED, propertyMap, REJECT_STATIC_OPERATION, REJECT_STATIC_PROPERTY, SELECT_STATIC_OPERATION, SELECT_STATIC_PROPERTY, UNIQUEEMPTY_ARRAY| Constructor and Description |
|---|
EcoreExecutorEnumeration(org.eclipse.emf.ecore.EEnum eEnum,
EcoreExecutorPackage evaluationPackage,
int flags)
Construct an executable type descriptor for a known EClassifier.
|
| Modifier and Type | Method and Description |
|---|---|
ObjectValue |
createInstance()
Return a new instance of this type from valueFactory.
|
org.eclipse.emf.ecore.EEnum |
getEEnum() |
EnumerationId |
getEnumerationId() |
EcoreExecutorEnumerationLiteral |
getEnumerationLiteral(java.lang.String name) |
java.lang.Iterable<? extends DomainEnumerationLiteral> |
getEnumerationLiterals() |
EcoreExecutorEnumeration |
initLiterals(EcoreExecutorEnumerationLiteral[] literals) |
createInstance, getEClassifier, getMetaTypeName, getTypeId, initFragmentsgetAllOperations, getAllProperties, getAllSuperFragments, getDepth, getFragment, getIndex, getIndexes, getLocalOperations, getLocalProperties, getLocalSuperTypes, getMemberProperty, getOwnedAttribute, getOwnedOperation, getSelfFragment, getStandardLibrary, getSuperFragments, getType, getTypeParameters, initFragmentsconformsTo, 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, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitconformsTo, createInstance, getCommonType, getInheritance, getLocalOperations, getLocalProperties, getLocalSuperTypes, getMetaTypeName, getName, getNormalizedType, getOwnedAttribute, getOwnedInvariant, getOwnedOperation, getPackage, getTypeId, getTypeParameters, isEqualTo, isEqualToUnspecializedType, isInvalid, isOrdered, isUnique, lookupImplementation, specializeIngetOwnedRuleoclEquals, oclHashCodepublic EcoreExecutorEnumeration(org.eclipse.emf.ecore.EEnum eEnum,
@NonNull
EcoreExecutorPackage evaluationPackage,
int flags)
@NonNull public ObjectValue createInstance()
DomainTypeDomainProperty#initValue(DomainStandardLibrary, ObjectValue, Value) provided no side-effect free
OCL functionality is permitted to use the ObjectValue until initialisation has completed.createInstance in interface DomainTypecreateInstance in class EcoreExecutorType@NonNull public final org.eclipse.emf.ecore.EEnum getEEnum()
@Nullable public EcoreExecutorEnumerationLiteral getEnumerationLiteral(@NonNull java.lang.String name)
getEnumerationLiteral in interface DomainEnumeration@NonNull public EnumerationId getEnumerationId()
getEnumerationId in interface DomainEnumeration@NonNull public java.lang.Iterable<? extends DomainEnumerationLiteral> getEnumerationLiterals()
getEnumerationLiterals in interface DomainEnumerationpublic EcoreExecutorEnumeration initLiterals(EcoreExecutorEnumerationLiteral[] literals)