public abstract class AbstractInheritance extends AbstractExecutorNamedElement implements CompleteInheritance
Modifier and Type | Class and Description |
---|---|
static class |
AbstractInheritance.FragmentIterable |
Modifier and Type | Field and Description |
---|---|
static int |
ABSTRACT |
protected int |
flags |
static int |
OCL_ANY |
static int |
OCL_INVALID |
static int |
OCL_VOID |
static int |
ORDERED |
static int |
UNIQUE |
name
EMPTY_ARRAY
Constructor and Description |
---|
AbstractInheritance(java.lang.String name,
int flags) |
Modifier and Type | Method and Description |
---|---|
CompleteInheritance |
getCommonInheritance(CompleteInheritance thatInheritance) |
InheritanceFragment |
getFragment(CompleteInheritance thatInheritance) |
Class |
getType() |
static void |
initStatics()
A simple public static method that may be used to force class initialization.
|
boolean |
isInvalid() |
boolean |
isOclAny() |
boolean |
isSubInheritanceOf(CompleteInheritance thatInheritance) |
boolean |
isSuperInheritanceOf(CompleteInheritance thatInheritance) |
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,
java.lang.String operationName,
CompleteInheritance... argumentTypes) |
getName, setName
accept, 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, getValue
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getAllProperSuperFragments, getAllSuperFragments, getDepth, getFragment, getFragments, getIndex, getIndexes, getMemberOperation, getMemberProperty, getPivotClass, getSelfFragment, getSuperFragments
accept, allOwnedElements, getAnnotatingComments, getESObject, getETarget, getOwnedAnnotations, getOwnedComments, getOwnedExtensions, getValue
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnset
public static final int ORDERED
public static final int UNIQUE
public static final int OCL_ANY
public static final int OCL_VOID
public static final int OCL_INVALID
public static final int ABSTRACT
protected final int flags
public AbstractInheritance(@NonNull java.lang.String name, int flags)
public static void initStatics()
@NonNull public CompleteInheritance getCommonInheritance(@NonNull CompleteInheritance thatInheritance)
getCommonInheritance
in interface CompleteInheritance
@Nullable public InheritanceFragment getFragment(@NonNull CompleteInheritance thatInheritance)
getFragment
in interface CompleteInheritance
public Class getType()
getType
in interface CompleteInheritance
public final boolean isInvalid()
public final boolean isOclAny()
isOclAny
in interface CompleteInheritance
public boolean isSubInheritanceOf(@NonNull CompleteInheritance thatInheritance)
isSubInheritanceOf
in interface CompleteInheritance
public boolean isSuperInheritanceOf(@NonNull CompleteInheritance thatInheritance)
isSuperInheritanceOf
in interface CompleteInheritance
public final boolean isUndefined()
isUndefined
in interface CompleteInheritance
@NonNull public Operation lookupActualOperation(@NonNull StandardLibrary standardLibrary, @NonNull Operation apparentOperation)
lookupActualOperation
in interface CompleteInheritance
@NonNull public LibraryFeature lookupImplementation(@NonNull StandardLibrary standardLibrary, @NonNull Operation apparentOperation)
CompleteInheritance
lookupImplementation
in interface CompleteInheritance
@Nullable public Operation lookupLocalOperation(@NonNull StandardLibrary standardLibrary, @NonNull java.lang.String operationName, CompleteInheritance... argumentTypes)
lookupLocalOperation
in interface CompleteInheritance