public interface HierarchyNode
| Modifier and Type | Method and Description |
|---|---|
Object |
getEnumerationValue()
|
Adaptation |
getJoinOccurrence()
Returns the association record that links the current node with its parent.
|
Adaptation |
getOccurrence()
Returns the current record being displayed.
|
HierarchyNode |
getParentHierarchyNode()
Returns this node's parent node in the hierarchy.
|
boolean |
isEnumerationNode()
Returns
true if the current node is an enumeration node. |
boolean |
isOccurrenceNode()
Returns
true if the current node is a table record node. |
boolean |
isOrphansParent()
Returns
true if the current node is the parent of an orphan. |
boolean |
isRoot()
Returns
true if the current node is the root of the hierarchy. |
boolean |
isTarget()
Returns
true if the current record is a record
in the target table. |
boolean |
isTerminal()
Returns
true if the current node has no children
in the hierarchy. |
HierarchyNode getParentHierarchyNode()
Adaptation getOccurrence()
Warning: if this node is an
enumeration node, a
root or an orphan's
parent,
this method returns null.
getEnumerationValue()Adaptation getJoinOccurrence()
Warning: if this node is an
enumeration node, a
root or an orphan's
parent,
or if there is no join dependency between the node and its parent,
this method returns null.
getOccurrence()Object getEnumerationValue()
getOccurrence()boolean isEnumerationNode()
true if the current node is an enumeration node.
An enumeration corresponds to a xs:enumeration element in the data model.
In this case, the method getOccurrence()
returns null.
getEnumerationValue()boolean isOccurrenceNode()
true if the current node is a table record node.
In this case, the method getEnumerationValue()
returns null.
getOccurrence()boolean isOrphansParent()
true if the current node is the parent of an orphan.
In this case, the method getOccurrence()
returns null.
boolean isRoot()
true if the current node is the root of the hierarchy.
In this case, the method getOccurrence()
returns null.
boolean isTarget()
true if the current record is a record
in the target table.
The target table is the table from which the hierarchy was built.
boolean isTerminal()
true if the current node has no children
in the hierarchy.