public abstract class ExecutorType extends AbstractExecutorClass implements ExecutorTypeArgument
AbstractInheritance.FragmentIterableABSTRACT, OCL_ANY, OCL_INVALID, OCL_VOID, ORDERED, UNIQUEEMPTY_ARRAY| Constructor and Description |
|---|
ExecutorType(String name,
ExecutorPackage evaluationPackage,
int flags,
ExecutorTypeParameter... typeParameters) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
conformsTo(StandardLibrary standardLibrary,
Type type)
Return true if this type conform to thatType within standardLibrary.
|
Class |
flattenedType() |
AbstractInheritance.FragmentIterable |
getAllProperSuperFragments()
Return a depth ordered, OclAny-first, OclSelf-last, Iterable of all the super-adapters excluding this one.
|
AbstractInheritance.FragmentIterable |
getAllSuperFragments()
Return a depth ordered, OclAny-first, OclSelf-last, Iterable of all the super-adapters including this one.
|
Type |
getCommonType(IdResolver idResolver,
Type type)
Return the most derived type common to this type and thatType within standardLibrary.
|
int |
getDepth()
Return the inheritance depth of the target type: OclAny is at depth 0.
|
ExecutorFragment |
getFragment(int fragmentNumber) |
Iterable<InheritanceFragment> |
getFragments() |
int |
getIndex(int fragmentNumber) |
int |
getIndexes() |
CompleteInheritance |
getInheritance(StandardLibrary standardLibrary)
Return the inheritance description for this type within standardLibrary.
|
Operation |
getMemberOperation(OperationId operationId) |
Property |
getMemberProperty(String name) |
String |
getMetaTypeName()
Return the name of the meta-type of this type.
|
Class |
getNormalizedType(StandardLibrary standardLibrary)
Return the unique executable form of this type within standardLibrary.
|
List<Constraint> |
getOwnedConstraints()
Returns the value of the 'Owned Constraints' containment reference list.
|
List<Constraint> |
getOwnedInvariants()
Returns the value of the 'Owned Invariants' containment reference list.
|
List<Operation> |
getOwnedOperations()
Returns the value of the 'Owned Operations' containment reference list.
|
List<Property> |
getOwnedProperties()
Returns the value of the 'Owned Properties' containment reference list.
|
Package |
getOwningPackage()
Returns the value of the 'Owning Package' container reference.
|
Class |
getPivotClass() |
ExecutorFragment |
getSelfFragment() |
StandardLibrary |
getStandardLibrary() |
List<Class> |
getSuperClasses()
Returns the value of the 'Super Classes' reference list.
|
AbstractInheritance.FragmentIterable |
getSuperFragments(int depth)
Return an Iterable of all the super-inheritances at a specified depth, between 0 and getDepth() inclusive.
|
TemplateParameters |
getTypeParameters()
Return the ordered list of type parameters of this type.
|
void |
initFragments(ExecutorFragment[] fragments,
int[] depthCounts) |
Class |
isClass() |
boolean |
isEqualTo(StandardLibrary standardLibrary,
Type type)
Return true if this is the same type as thatType within standardLibrary.
|
boolean |
isEqualToUnspecializedType(StandardLibrary standardLibrary,
Type type) |
boolean |
isOrdered()
Return true if this type is a Collection type and has ordered elements.
|
TemplateParameter |
isTemplateParameter() |
boolean |
isUnique()
Return true if this type is a Collection type and has unique elements.
|
boolean |
oclEquals(OCLValue thatValue)
Return true if this is an equivalent OCL value to thatValue.
|
int |
oclHashCode() |
String |
toString() |
createInstance, createInstance, getBehavioralClass, getExtenders, getInstanceClassName, getOwnedBehaviors, getOwnedBindings, getOwnedSignature, getUnspecializedElement, isIsAbstract, isIsActive, isIsInterface, isIsSerializable, setBehavioralClass, setInstanceClassName, setIsAbstract, setIsActive, setIsInterface, setIsSerializable, setOwnedSignature, setOwningPackage, setUnspecializedElement, validateNameIsNotNull, validateUniqueInvariantNamegetTypeId, specializeIngetCommonInheritance, getFragment, getType, initStatics, isInvalid, isOclAny, isSubInheritanceOf, isSuperInheritanceOf, isUndefined, lookupActualOperation, lookupImplementation, lookupLocalOperationgetName, setNameaccept, 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, getValueequals, getClass, hashCode, notify, notifyAll, wait, wait, waitgetTypeId, specializeIngetName, setNameaccept, allOwnedElements, getAnnotatingComments, getESObject, getETarget, getOwnedAnnotations, getOwnedComments, getOwnedExtensions, getValuelookupActualOperation, lookupImplementationpublic ExecutorType(String name, ExecutorPackage evaluationPackage, int flags, ExecutorTypeParameter... typeParameters)
public boolean conformsTo(StandardLibrary standardLibrary, Type type)
TypeconformsTo in interface TypeconformsTo in class AbstractExecutorTypepublic Class flattenedType()
TypeflattenedType in interface TypeflattenedType in class AbstractExecutorTypepublic final AbstractInheritance.FragmentIterable getAllProperSuperFragments()
CompleteInheritancegetAllProperSuperFragments in interface CompleteInheritancegetAllProperSuperFragments in class AbstractExecutorTypepublic AbstractInheritance.FragmentIterable getAllSuperFragments()
CompleteInheritancegetAllSuperFragments in interface CompleteInheritancegetAllSuperFragments in class AbstractExecutorTypepublic Type getCommonType(IdResolver idResolver, Type type)
TypegetCommonType in interface TypegetCommonType in class AbstractExecutorTypepublic int getDepth()
CompleteInheritancegetDepth in interface CompleteInheritancegetDepth in class AbstractExecutorTypepublic Iterable<InheritanceFragment> getFragments()
getFragments in interface CompleteInheritancegetFragments in class AbstractExecutorTypepublic ExecutorFragment getFragment(int fragmentNumber)
getFragment in interface CompleteInheritancegetFragment in class AbstractExecutorTypepublic int getIndex(int fragmentNumber)
getIndex in interface CompleteInheritancegetIndex in class AbstractExecutorTypepublic int getIndexes()
getIndexes in interface CompleteInheritancegetIndexes in class AbstractExecutorTypepublic CompleteInheritance getInheritance(StandardLibrary standardLibrary)
TypegetInheritance in interface TypegetInheritance in class AbstractExecutorClasspublic Operation getMemberOperation(OperationId operationId)
getMemberOperation in interface CompleteInheritancegetMemberOperation in class AbstractExecutorTypepublic Property getMemberProperty(String name)
getMemberProperty in interface CompleteInheritancegetMemberProperty in class AbstractExecutorTypepublic String getMetaTypeName()
ClassgetMetaTypeName in interface ClassgetMetaTypeName in class AbstractExecutorClasspublic Class getNormalizedType(StandardLibrary standardLibrary)
TypegetNormalizedType in interface TypegetNormalizedType in class AbstractExecutorTypepublic List<Constraint> getOwnedInvariants()
ClassConstraint.
If the meaning of the 'Owned Invariants' containment reference list isn't clear, there really should be more of a description here...
getOwnedInvariants in interface ClassgetOwnedInvariants in class AbstractExecutorClassPivotPackage.getClass_OwnedInvariants()public List<Property> getOwnedProperties()
ClassProperty.
It is bidirectional and its opposite is 'Owning Class'.
The Properties owned by the StructuredClassifier.
The attributes (i.e., the Properties) owned by the Class.
getOwnedProperties in interface ClassgetOwnedProperties in class AbstractExecutorClassPivotPackage.getClass_OwnedProperties(),
Property.getOwningClass()public List<Operation> getOwnedOperations()
ClassOperation.
It is bidirectional and its opposite is 'Owning Class'.
The Operations owned by the Class.
getOwnedOperations in interface ClassgetOwnedOperations in class AbstractExecutorClassPivotPackage.getClass_OwnedOperations(),
Operation.getOwningClass()public Package getOwningPackage()
ClassOwned Classes'.
getOwningPackage in interface ClassgetOwningPackage in class AbstractExecutorClassClass.setOwningPackage(org.eclipse.ocl.pivot.Package),
PivotPackage.getClass_OwningPackage(),
Package.getOwnedClasses()public List<Constraint> getOwnedConstraints()
NamespaceConstraint.
If the meaning of the 'Owned Rule' containment reference list isn't clear, there really should be more of a description here...
Specifies a set of Constraints owned by this Namespace.getOwnedConstraints in interface NamespacegetOwnedConstraints in class AbstractExecutorClassPivotPackage.getNamespace_OwnedConstraints()public Class getPivotClass()
getPivotClass in interface CompleteInheritancegetPivotClass in class AbstractExecutorTypepublic ExecutorFragment getSelfFragment()
getSelfFragment in interface CompleteInheritancegetSelfFragment in class AbstractExecutorTypepublic StandardLibrary getStandardLibrary()
public List<Class> getSuperClasses()
ClassClass.
getSuperClasses in interface ClassgetSuperClasses in class AbstractExecutorClassPivotPackage.getClass_SuperClasses()public final AbstractInheritance.FragmentIterable getSuperFragments(int depth)
CompleteInheritancegetSuperFragments in interface CompleteInheritancegetSuperFragments in class AbstractExecutorTypepublic TemplateParameters getTypeParameters()
ClassgetTypeParameters in interface ClassgetTypeParameters in class AbstractExecutorClasspublic void initFragments(ExecutorFragment[] fragments, int[] depthCounts)
public Class isClass()
isClass in interface TypeisClass in class AbstractExecutorTypepublic boolean isEqualTo(StandardLibrary standardLibrary, Type type)
TypeisEqualTo in interface TypeisEqualTo in class AbstractExecutorTypepublic boolean isEqualToUnspecializedType(StandardLibrary standardLibrary, Type type)
isEqualToUnspecializedType in interface TypeisEqualToUnspecializedType in class AbstractExecutorTypepublic boolean isOrdered()
ClassisOrdered in interface ClassisOrdered in class AbstractExecutorClasspublic TemplateParameter isTemplateParameter()
isTemplateParameter in interface TypeisTemplateParameter in class AbstractExecutorTypepublic boolean isUnique()
ClassisUnique in interface ClassisUnique in class AbstractExecutorClasspublic boolean oclEquals(OCLValue thatValue)
OCLValueNote that the caller must check that the argument is an OCLValue and should also check for the shortcut case that this == thatValue. Implementations are therefore wasting time if they re-implement the shortcut.
oclEquals in interface OCLValueoclEquals in class AbstractExecutorTypepublic int oclHashCode()
oclHashCode in interface OCLValueoclHashCode in class AbstractExecutorTypeCopyright © 2005, 2018 IBM Corporation and others. All Rights Reserved.