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, wait
getImplementation, getLocalOperation, getLocalOperations, getLocalProperties
public final CompleteInheritance derivedInheritance
public final CompleteInheritance baseInheritance
public AbstractFragment(CompleteInheritance derivedInheritance, CompleteInheritance baseInheritance)
public Operation getActualOperation(Operation apparentOperation)
getActualOperation
in interface InheritanceFragment
public final InheritanceFragment getBaseFragment()
InheritanceFragment
getBaseFragment
in interface InheritanceFragment
public final CompleteInheritance getBaseInheritance()
InheritanceFragment
getBaseInheritance
in interface InheritanceFragment
public final CompleteInheritance getDerivedInheritance()
InheritanceFragment
getDerivedInheritance
in interface InheritanceFragment
public String toString()
Copyright © 2005, 2018 IBM Corporation and others. All Rights Reserved.