|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||

java.lang.Objectorg.jomc.model.InheritanceModel.Node<T>
T - The type of the model object of the node.public static class InheritanceModel.Node<T>
Inheritance model node.
| Constructor Summary | |
|---|---|
InheritanceModel.Node(Implementation implementation,
Specification specification,
Implementation classDeclaration,
InheritanceModel.Node<Implementation> descendant,
T modelObject,
boolean finalNode,
boolean overrideNode)
Creates a new Node instance. |
|
| Method Summary | |
|---|---|
Implementation |
getClassDeclaration()
Gets the class declaration the node originates from. |
InheritanceModel.Node<Implementation> |
getDescendant()
Gets the direct descendant node of the node. |
Implementation |
getImplementation()
Gets the implementation the node originates from. |
T |
getModelObject()
Gets the model object of the node. |
Set<InheritanceModel.Node<T>> |
getOverriddenNodes()
Gets a set of nodes overridden by the node. |
List<InheritanceModel.Node<Implementation>> |
getPath()
Gets the path to the node. |
Specification |
getSpecification()
Gets the specification the node originates from. |
boolean |
isFinal()
Gets a flag indicating the node is the final node in an inheritance hierarchy. |
boolean |
isOverride()
Gets a flag indicating the node is intended to override an ancestor node. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public InheritanceModel.Node(Implementation implementation,
Specification specification,
Implementation classDeclaration,
InheritanceModel.Node<Implementation> descendant,
T modelObject,
boolean finalNode,
boolean overrideNode)
Node instance.
implementation - The implementation the node originates from.specification - The specification the node originates from or null.classDeclaration - The class declaration the node originates from or null.descendant - The direct descendant node of the node or null.modelObject - The model object of the node.finalNode - true, if the node is the final node in an inheritance hierarchy; false,
else.overrideNode - true, if the node is intended to override an ancestor node; false, else.| Method Detail |
|---|
public final Implementation getImplementation()
public final Specification getSpecification()
null, if the node does not originate from a
specification.public final Implementation getClassDeclaration()
null, if the node does not originate from a
class declaration.public final InheritanceModel.Node<Implementation> getDescendant()
null.InheritanceModel.getSourceNodes(java.lang.String)public final T getModelObject()
public final boolean isFinal()
true, if the node is the final node in an inheritance hierarchy; false, else.public final boolean isOverride()
true, if the node is intended to override an ancestor; false else.public final Set<InheritanceModel.Node<T>> getOverriddenNodes()
public final List<InheritanceModel.Node<Implementation>> getPath()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
| Copyright © 2005-2012 The JOMC Project. All Rights Reserved. |