public class EcoreExecutorEnumeration extends EcoreExecutorType implements Enumeration
AbstractInheritance.FragmentIterable
eClassifier
evaluationPackage
ABSTRACT, flags, OCL_ANY, OCL_INVALID, OCL_VOID, ORDERED, UNIQUE
name
EMPTY_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 |
---|---|
org.eclipse.emf.ecore.EObject |
createInstance()
Return a new instance of this type from valueFactory.
|
org.eclipse.emf.ecore.EEnum |
getEEnum() |
EnumerationId |
getEnumerationId() |
EnumerationLiteral |
getEnumerationLiteral(java.lang.String name) |
java.util.List<EnumerationLiteral> |
getOwnedLiterals()
Returns the value of the 'Owned Literals' containment reference list.
|
EcoreExecutorEnumeration |
initLiterals(EcoreExecutorEnumerationLiteral[] literals) |
createInstance, getEClassifier, getMetaTypeName, getTypeId, initFragments
conformsTo, flattenedType, getAllProperSuperFragments, getAllSuperFragments, getCommonType, getDepth, getFragment, getFragments, getIndex, getIndexes, getInheritance, getMemberOperation, getMemberProperty, getNormalizedType, getOwnedConstraints, getOwnedInvariants, getOwnedOperations, getOwnedProperties, getOwningPackage, getPivotClass, getSelfFragment, getStandardLibrary, getSuperClasses, getSuperFragments, getTypeParameters, initFragments, isClass, isEqualTo, isEqualToUnspecializedType, isOrdered, isTemplateParameter, isUnique, oclEquals, oclHashCode, toString
getBehavioralClass, getExtenders, getInstanceClassName, getOwnedBehaviors, getOwnedBindings, getOwnedSignature, getUnspecializedElement, isIsAbstract, isIsActive, isIsInterface, isIsSerializable, setBehavioralClass, setInstanceClassName, setIsAbstract, setIsActive, setIsInterface, setIsSerializable, setOwnedSignature, setOwningPackage, setUnspecializedElement, validateUniqueInvariantName
specializeIn
getCommonInheritance, getFragment, getType, initStatics, isInvalid, isOclAny, isSubInheritanceOf, isSuperInheritanceOf, isUndefined, lookupActualOperation, lookupImplementation, lookupLocalOperation
getName, setName
accept, allOwnedElements, eAdapters, eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eDeliver, eGet, eGet, eInvoke, eIsProxy, eIsSet, eNotify, eResource, eSet, eSetDeliver, eUnset, getAnnotatingComments, getESObject, getETarget, getOwnedAnnotations, getOwnedComments, getOwnedExtensions, getValue
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getBehavioralClass, isIsSerializable, setBehavioralClass, setIsSerializable
createInstance, getExtenders, getInstanceClassName, getMetaTypeName, getOwnedBehaviors, getOwnedInvariants, getOwnedOperations, getOwnedProperties, getOwningPackage, getSuperClasses, getTypeParameters, isIsAbstract, isIsActive, isIsInterface, isOrdered, isUnique, lookupActualOperation, lookupImplementation, setInstanceClassName, setIsAbstract, setIsActive, setIsInterface, setOwningPackage, validateUniqueInvariantName
conformsTo, flattenedType, getCommonType, getInheritance, getNormalizedType, getTypeId, isClass, isEqualTo, isEqualToUnspecializedType, isTemplateParameter, specializeIn
oclEquals, oclHashCode
getOwnedConstraints
getName, setName
accept, allOwnedElements, getAnnotatingComments, getESObject, getETarget, getOwnedAnnotations, getOwnedComments, getOwnedExtensions, getValue
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnset
eAdapters, eDeliver, eNotify, eSetDeliver
getOwnedBindings, getOwnedSignature, getUnspecializedElement, setOwnedSignature, setUnspecializedElement
public EcoreExecutorEnumeration(org.eclipse.emf.ecore.EEnum eEnum, @NonNull EcoreExecutorPackage evaluationPackage, int flags)
@NonNull public org.eclipse.emf.ecore.EObject createInstance()
Class
Property.initValue(Object, Object)
provided no side-effect free
OCL functionality is permitted to use the ObjectValue until initialisation has completed.createInstance
in interface Class
createInstance
in class EcoreExecutorType
@NonNull public final org.eclipse.emf.ecore.EEnum getEEnum()
@Nullable public EnumerationLiteral getEnumerationLiteral(@NonNull java.lang.String name)
getEnumerationLiteral
in interface Enumeration
@NonNull public EnumerationId getEnumerationId()
getEnumerationId
in interface Enumeration
@NonNull public java.util.List<EnumerationLiteral> getOwnedLiterals()
Enumeration
EnumerationLiteral
.
It is bidirectional and its opposite is 'Owning Enumeration
'.
The ordered set of literals owned by this Enumeration.
getOwnedLiterals
in interface Enumeration
PivotPackage.getEnumeration_OwnedLiterals()
,
EnumerationLiteral.getOwningEnumeration()
public EcoreExecutorEnumeration initLiterals(EcoreExecutorEnumerationLiteral[] literals)