public class AbstractExecutorType extends AbstractInheritance implements Type
AbstractInheritance.FragmentIterableABSTRACT, OCL_ANY, OCL_INVALID, OCL_VOID, ORDERED, UNIQUEEMPTY_ARRAY| Constructor and Description |
|---|
AbstractExecutorType(String name,
int flags) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
conformsTo(StandardLibrary standardLibrary,
Type thatType)
Return true if this type conform to thatType within standardLibrary.
|
Type |
flattenedType() |
Iterable<InheritanceFragment> |
getAllProperSuperFragments()
Return a depth ordered, OclAny-first, OclSelf-last, Iterable of all the super-adapters excluding this one.
|
Iterable<InheritanceFragment> |
getAllSuperFragments()
Return a depth ordered, OclAny-first, OclSelf-last, Iterable of all the super-adapters including this one.
|
Type |
getCommonType(IdResolver idResolver,
Type thatType)
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.
|
InheritanceFragment |
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 id) |
Property |
getMemberProperty(String name) |
Class |
getNormalizedType(StandardLibrary standardLibrary)
Return the unique executable form of this type within standardLibrary.
|
Class |
getPivotClass() |
InheritanceFragment |
getSelfFragment() |
IndexableIterable<InheritanceFragment> |
getSuperFragments(int depth)
Return an Iterable of all the super-inheritances at a specified depth, between 0 and getDepth() inclusive.
|
TypeId |
getTypeId()
Return a unique StandardLibrary-independent identifier for this type.
|
Class |
isClass() |
boolean |
isEqualTo(StandardLibrary standardLibrary,
Type thatType)
Return true if this is the same type as thatType within standardLibrary.
|
boolean |
isEqualToUnspecializedType(StandardLibrary standardLibrary,
Type type) |
TemplateParameter |
isTemplateParameter() |
boolean |
oclEquals(OCLValue thatValue)
Return true if this is an equivalent OCL value to thatValue.
|
int |
oclHashCode() |
Type |
specializeIn(CallExp expr,
Type selfType) |
getCommonInheritance, 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, toString, wait, wait, waitgetName, setNameaccept, allOwnedElements, getAnnotatingComments, getESObject, getETarget, getOwnedAnnotations, getOwnedComments, getOwnedExtensions, getValuepublic AbstractExecutorType(String name, int flags)
public boolean conformsTo(StandardLibrary standardLibrary, Type thatType)
TypeconformsTo in interface Typepublic Type flattenedType()
TypeflattenedType in interface Typepublic Iterable<InheritanceFragment> getAllProperSuperFragments()
CompleteInheritancegetAllProperSuperFragments in interface CompleteInheritancepublic Iterable<InheritanceFragment> getAllSuperFragments()
CompleteInheritancegetAllSuperFragments in interface CompleteInheritancepublic Type getCommonType(IdResolver idResolver, Type thatType)
TypegetCommonType in interface Typepublic int getDepth()
CompleteInheritancegetDepth in interface CompleteInheritancepublic Iterable<InheritanceFragment> getFragments()
getFragments in interface CompleteInheritancepublic InheritanceFragment getFragment(int fragmentNumber)
getFragment in interface CompleteInheritancepublic int getIndex(int fragmentNumber)
getIndex in interface CompleteInheritancepublic int getIndexes()
getIndexes in interface CompleteInheritancepublic CompleteInheritance getInheritance(StandardLibrary standardLibrary)
TypegetInheritance in interface Typepublic Operation getMemberOperation(OperationId id)
getMemberOperation in interface CompleteInheritancepublic Property getMemberProperty(String name)
getMemberProperty in interface CompleteInheritancepublic Class getNormalizedType(StandardLibrary standardLibrary)
TypegetNormalizedType in interface Typepublic Class getPivotClass()
getPivotClass in interface CompleteInheritancepublic InheritanceFragment getSelfFragment()
getSelfFragment in interface CompleteInheritancepublic IndexableIterable<InheritanceFragment> getSuperFragments(int depth)
CompleteInheritancegetSuperFragments in interface CompleteInheritancepublic TypeId getTypeId()
Typepublic boolean isEqualTo(StandardLibrary standardLibrary, Type thatType)
Typepublic boolean isEqualToUnspecializedType(StandardLibrary standardLibrary, Type type)
isEqualToUnspecializedType in interface Typepublic TemplateParameter isTemplateParameter()
isTemplateParameter in interface Typepublic 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.
public int oclHashCode()
oclHashCode in interface OCLValueCopyright © 2005, 2018 IBM Corporation and others. All Rights Reserved.