public abstract class ExecutorType extends AbstractInheritance implements DomainType, ExecutorTypeArgument
AbstractInheritance.FragmentIterable, AbstractInheritance.RejectStaticOperation, AbstractInheritance.RejectStaticProperty, AbstractInheritance.SelectStaticOperation, AbstractInheritance.SelectStaticProperty
evaluationPackage, flags, name, operationMap, ORDERED, propertyMap, REJECT_STATIC_OPERATION, REJECT_STATIC_PROPERTY, SELECT_STATIC_OPERATION, SELECT_STATIC_PROPERTY, UNIQUE
EMPTY_ARRAY
Constructor and Description |
---|
ExecutorType(java.lang.String name,
ExecutorPackage evaluationPackage,
int flags,
ExecutorTypeParameter... typeParameters) |
Modifier and Type | Method and Description |
---|---|
java.lang.Iterable<? extends DomainOperation> |
getAllOperations(boolean selectStatic) |
java.lang.Iterable<? extends DomainProperty> |
getAllProperties(boolean selectStatic) |
AbstractInheritance.FragmentIterable |
getAllSuperFragments()
Return a depth ordered, OclAny-first, OclSelf-last, Iterable of all the super-adapters including this one.
|
int |
getDepth()
Return the inheritance depth of the target type: OclAny is at depth 0.
|
ExecutorFragment |
getFragment(int fragmentNumber) |
int |
getIndex(int fragmentNumber) |
int |
getIndexes() |
java.util.List<? extends DomainOperation> |
getLocalOperations() |
java.util.List<? extends DomainProperty> |
getLocalProperties() |
java.util.List<? extends DomainType> |
getLocalSuperTypes() |
DomainProperty |
getMemberProperty(java.lang.String name) |
java.lang.String |
getMetaTypeName()
Return the name of the meta-type of this type.
|
java.util.List<? extends DomainProperty> |
getOwnedAttribute() |
java.util.List<? extends DomainOperation> |
getOwnedOperation() |
ExecutorFragment |
getSelfFragment() |
DomainStandardLibrary |
getStandardLibrary()
Return the Standard Library managing the dispatch tables.
|
AbstractInheritance.FragmentIterable |
getSuperFragments(int depth)
Return an Iterable of all the super-inheritances at a specified depth, between 0 and getDepth() inclusive.
|
DomainType |
getType() |
TypeId |
getTypeId()
Return a unique StandardLibrary-independent identifier for this type.
|
DomainTypeParameters |
getTypeParameters()
Return the ordered list of type parameters of this type.
|
void |
initFragments(ExecutorFragment[] fragments,
int[] depthCounts) |
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
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
conformsTo, createInstance, createInstance, getCommonType, getInheritance, getName, getNormalizedType, getOwnedInvariant, getPackage, isEqualTo, isEqualToUnspecializedType, isInvalid, isOrdered, isUnique, lookupImplementation, specializeIn
getOwnedRule
oclEquals, oclHashCode
public ExecutorType(@NonNull java.lang.String name, @NonNull ExecutorPackage evaluationPackage, int flags, @NonNull ExecutorTypeParameter... typeParameters)
@NonNull public java.lang.Iterable<? extends DomainOperation> getAllOperations(boolean selectStatic)
getAllOperations
in interface DomainInheritance
@NonNull public java.lang.Iterable<? extends DomainProperty> getAllProperties(boolean selectStatic)
getAllProperties
in interface DomainInheritance
@NonNull public AbstractInheritance.FragmentIterable getAllSuperFragments()
DomainInheritance
getAllSuperFragments
in interface DomainInheritance
public int getDepth()
DomainInheritance
getDepth
in interface DomainInheritance
public ExecutorFragment getFragment(int fragmentNumber)
getFragment
in interface DomainInheritance
public int getIndex(int fragmentNumber)
getIndex
in interface DomainInheritance
public int getIndexes()
getIndexes
in interface DomainInheritance
@NonNull public java.util.List<? extends DomainOperation> getLocalOperations()
getLocalOperations
in interface DomainType
@NonNull public java.util.List<? extends DomainProperty> getLocalProperties()
getLocalProperties
in interface DomainType
@NonNull public java.util.List<? extends DomainType> getLocalSuperTypes()
getLocalSuperTypes
in interface DomainType
@Nullable public DomainProperty getMemberProperty(@NonNull java.lang.String name)
getMemberProperty
in interface DomainInheritance
@NonNull public java.lang.String getMetaTypeName()
DomainType
getMetaTypeName
in interface DomainType
@NonNull public java.util.List<? extends DomainProperty> getOwnedAttribute()
getOwnedAttribute
in interface DomainType
@NonNull public java.util.List<? extends DomainOperation> getOwnedOperation()
getOwnedOperation
in interface DomainType
@NonNull public ExecutorFragment getSelfFragment()
getSelfFragment
in interface DomainInheritance
@NonNull public DomainStandardLibrary getStandardLibrary()
DomainInheritance
getStandardLibrary
in interface DomainInheritance
@NonNull public final AbstractInheritance.FragmentIterable getSuperFragments(int depth)
DomainInheritance
getSuperFragments
in interface DomainInheritance
@NonNull public DomainType getType()
@NonNull public TypeId getTypeId()
DomainType
getTypeId
in interface DomainType
@NonNull public DomainTypeParameters getTypeParameters()
DomainType
getTypeParameters
in interface DomainType
public void initFragments(@NonNull ExecutorFragment[] fragments, int[] depthCounts)