public interface CompleteInheritance extends Nameable
Modifier and Type | Field and Description |
---|---|
static CompleteInheritance[] |
EMPTY_ARRAY |
Modifier and Type | Method and Description |
---|---|
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.
|
CompleteInheritance |
getCommonInheritance(CompleteInheritance inheritance) |
int |
getDepth()
Return the inheritance depth of the target type: OclAny is at depth 0.
|
InheritanceFragment |
getFragment(CompleteInheritance thatInheritance)
Return the InheritanceFragment of this inheritance whose baseInheritance is thatInheritance.
|
InheritanceFragment |
getFragment(int fragmentNumber) |
Iterable<InheritanceFragment> |
getFragments() |
int |
getIndex(int fragmentNumber) |
int |
getIndexes() |
Operation |
getMemberOperation(OperationId id) |
Property |
getMemberProperty(String name) |
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.
|
Class |
getType()
Deprecated.
|
boolean |
isOclAny() |
boolean |
isSubInheritanceOf(CompleteInheritance inheritance) |
boolean |
isSuperInheritanceOf(CompleteInheritance inheritance) |
boolean |
isUndefined() |
Operation |
lookupActualOperation(StandardLibrary standardLibrary,
Operation apparentOperation) |
LibraryFeature |
lookupImplementation(StandardLibrary standardLibrary,
Operation apparentOperation)
Return the dynamic (overloaded) implementation of the staticOperation applicable to the types managed
by the given Standard Library.
|
Operation |
lookupLocalOperation(StandardLibrary standardLibrary,
String operationName,
CompleteInheritance... argumentTypes) |
static final CompleteInheritance[] EMPTY_ARRAY
Iterable<InheritanceFragment> getAllProperSuperFragments()
Iterable<InheritanceFragment> getAllSuperFragments()
CompleteInheritance getCommonInheritance(CompleteInheritance inheritance)
int getDepth()
InheritanceFragment getFragment(CompleteInheritance thatInheritance)
Iterable<InheritanceFragment> getFragments()
InheritanceFragment getFragment(int fragmentNumber)
int getIndex(int fragmentNumber)
int getIndexes()
Operation getMemberOperation(OperationId id)
Class getPivotClass()
InheritanceFragment getSelfFragment()
IndexableIterable<InheritanceFragment> getSuperFragments(int depth)
@Deprecated Class getType()
boolean isOclAny()
boolean isSubInheritanceOf(CompleteInheritance inheritance)
boolean isSuperInheritanceOf(CompleteInheritance inheritance)
boolean isUndefined()
Operation lookupActualOperation(StandardLibrary standardLibrary, Operation apparentOperation)
LibraryFeature lookupImplementation(StandardLibrary standardLibrary, Operation apparentOperation)
Operation lookupLocalOperation(StandardLibrary standardLibrary, String operationName, CompleteInheritance... argumentTypes)
Copyright © 2005, 2018 IBM Corporation and others. All Rights Reserved.