public interface DomainInheritance extends DomainType
Modifier and Type | Field and Description |
---|---|
static DomainInheritance[] |
EMPTY_ARRAY |
Modifier and Type | Method and Description |
---|---|
java.lang.Iterable<? extends DomainOperation> |
getAllOperations(boolean selectStatic) |
java.lang.Iterable<? extends DomainProperty> |
getAllProperties(boolean selectStatic) |
java.lang.Iterable<DomainFragment> |
getAllSuperFragments()
Return a depth ordered, OclAny-first, OclSelf-last, Iterable of all the super-adapters including this one.
|
DomainInheritance |
getCommonInheritance(DomainInheritance inheritance) |
int |
getDepth()
Return the inheritance depth of the target type: OclAny is at depth 0.
|
DomainFragment |
getFragment(DomainInheritance thatInheritance) |
DomainFragment |
getFragment(int fragmentNumber) |
int |
getIndex(int fragmentNumber) |
int |
getIndexes() |
DomainOperation |
getMemberOperation(OperationId id) |
DomainProperty |
getMemberProperty(java.lang.String name) |
DomainFragment |
getSelfFragment() |
DomainStandardLibrary |
getStandardLibrary()
Return the Standard Library managing the dispatch tables.
|
IndexableIterable<DomainFragment> |
getSuperFragments(int depth)
Return an Iterable of all the super-inheritances at a specified depth, between 0 and getDepth() inclusive.
|
boolean |
isSubInheritanceOf(DomainInheritance inheritance) |
boolean |
isSuperInheritanceOf(DomainStandardLibrary standardLibrary,
DomainInheritance inheritance) |
boolean |
isUndefined() |
DomainOperation |
lookupLocalOperation(DomainStandardLibrary standardLibrary,
java.lang.String operationName,
DomainInheritance... argumentTypes) |
conformsTo, createInstance, createInstance, getCommonType, getInheritance, getLocalOperations, getLocalProperties, getLocalSuperTypes, getMetaTypeName, getName, getNormalizedType, getOwnedAttribute, getOwnedInvariant, getOwnedOperation, getPackage, getTypeId, getTypeParameters, isEqualTo, isEqualToUnspecializedType, isInvalid, isOrdered, isUnique, lookupImplementation, specializeIn
getOwnedRule
oclEquals, oclHashCode
static final DomainInheritance[] EMPTY_ARRAY
@NonNull java.lang.Iterable<? extends DomainOperation> getAllOperations(boolean selectStatic)
@NonNull java.lang.Iterable<? extends DomainProperty> getAllProperties(boolean selectStatic)
@NonNull java.lang.Iterable<DomainFragment> getAllSuperFragments()
@NonNull DomainInheritance getCommonInheritance(@NonNull DomainInheritance inheritance)
int getDepth()
@Nullable DomainFragment getFragment(@NonNull DomainInheritance thatInheritance)
DomainFragment getFragment(int fragmentNumber)
int getIndex(int fragmentNumber)
int getIndexes()
@Nullable DomainOperation getMemberOperation(@NonNull OperationId id)
@Nullable DomainProperty getMemberProperty(@NonNull java.lang.String name)
@NonNull DomainFragment getSelfFragment()
@NonNull DomainStandardLibrary getStandardLibrary()
@NonNull IndexableIterable<DomainFragment> getSuperFragments(int depth)
boolean isSubInheritanceOf(@NonNull DomainInheritance inheritance)
boolean isSuperInheritanceOf(@NonNull DomainStandardLibrary standardLibrary, @NonNull DomainInheritance inheritance)
boolean isUndefined()
@Nullable DomainOperation lookupLocalOperation(@NonNull DomainStandardLibrary standardLibrary, @NonNull java.lang.String operationName, DomainInheritance... argumentTypes)