public abstract class AbstractFragment extends java.lang.Object implements InheritanceFragment
Modifier and Type | Field and Description |
---|---|
CompleteInheritance |
baseInheritance |
CompleteInheritance |
derivedInheritance |
Constructor and Description |
---|
AbstractFragment(CompleteInheritance derivedInheritance,
CompleteInheritance baseInheritance) |
Modifier and Type | Method and Description |
---|---|
Operation |
getActualOperation(Operation apparentOperation)
Return the actualOperation that has the same signature as apparentOperation.
|
InheritanceFragment |
getBaseFragment()
Return the unoverloaded fragment, which is getBaseInheritance().getSelfFragment().
|
CompleteInheritance |
getBaseInheritance()
Return the inheritance that introduces the operations and properties in this fragment.
|
CompleteInheritance |
getDerivedInheritance()
Return the inheritance that overloads the operations and properties in this fragment.
|
java.lang.String |
toString()
Return true if anOperation overloads an existing operation.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getImplementation, getLocalOperation, getLocalOperations, getLocalProperties
@NonNull public final CompleteInheritance derivedInheritance
@NonNull public final CompleteInheritance baseInheritance
public AbstractFragment(@NonNull CompleteInheritance derivedInheritance, @NonNull CompleteInheritance baseInheritance)
@NonNull public Operation getActualOperation(@NonNull Operation apparentOperation)
getActualOperation
in interface InheritanceFragment
@NonNull public final InheritanceFragment getBaseFragment()
InheritanceFragment
getBaseFragment
in interface InheritanceFragment
@NonNull public final CompleteInheritance getBaseInheritance()
InheritanceFragment
getBaseInheritance
in interface InheritanceFragment
@NonNull public final CompleteInheritance getDerivedInheritance()
InheritanceFragment
getDerivedInheritance
in interface InheritanceFragment
public java.lang.String toString()
toString
in class java.lang.Object