public class EcoreExecutorEnumeration extends EcoreExecutorType implements Enumeration
AbstractInheritance.FragmentIterable
ABSTRACT, OCL_ANY, OCL_INVALID, OCL_VOID, ORDERED, UNIQUE
EMPTY_ARRAY
Constructor and Description |
---|
EcoreExecutorEnumeration(EEnum eEnum,
EcoreExecutorPackage evaluationPackage,
int flags)
Construct an executable type descriptor for a known EClassifier.
|
Modifier and Type | Method and Description |
---|---|
EObject |
createInstance()
Return a new instance of this type from valueFactory.
|
EEnum |
getEEnum() |
EnumerationId |
getEnumerationId() |
EnumerationLiteral |
getEnumerationLiteral(String name) |
List<EnumerationLiteral> |
getOwnedLiterals()
Returns the value of the 'Owned Literals' containment reference list.
|
String |
getValue()
Returns the value of the 'Value' attribute.
|
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, validateNameIsNotNull, 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
equals, 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, validateNameIsNotNull, 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
getOwnedBindings, getOwnedSignature, getUnspecializedElement, setOwnedSignature, setUnspecializedElement
public EcoreExecutorEnumeration(EEnum eEnum, EcoreExecutorPackage evaluationPackage, int flags)
public 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
public final EEnum getEEnum()
public EnumerationLiteral getEnumerationLiteral(String name)
getEnumerationLiteral
in interface Enumeration
public EnumerationId getEnumerationId()
getEnumerationId
in interface Enumeration
public 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 String getValue()
DataType
""
.
If the meaning of the 'Value' attribute isn't clear, there really should be more of a description here...
getValue
in interface DataType
PivotPackage.getDataType_Value()
public EcoreExecutorEnumeration initLiterals(EcoreExecutorEnumerationLiteral[] literals)
Copyright © 2005, 2018 IBM Corporation and others. All Rights Reserved.