public abstract class AbstractFragment extends 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.
|
String |
toString()
Return true if anOperation overloads an existing operation.
|
equals, getClass, hashCode, notify, notifyAll, wait, wait, waitgetImplementation, getLocalOperation, getLocalOperations, getLocalPropertiespublic final CompleteInheritance derivedInheritance
public final CompleteInheritance baseInheritance
public AbstractFragment(CompleteInheritance derivedInheritance, CompleteInheritance baseInheritance)
public Operation getActualOperation(Operation apparentOperation)
getActualOperation in interface InheritanceFragmentpublic final InheritanceFragment getBaseFragment()
InheritanceFragmentgetBaseFragment in interface InheritanceFragmentpublic final CompleteInheritance getBaseInheritance()
InheritanceFragmentgetBaseInheritance in interface InheritanceFragmentpublic final CompleteInheritance getDerivedInheritance()
InheritanceFragmentgetDerivedInheritance in interface InheritanceFragmentpublic String toString()
Copyright © 2005, 2018 IBM Corporation and others. All Rights Reserved.