Package com.orchestranetworks.hierarchy
Interface HierarchyNode
 - public interface HierarchyNodeRepresents a node in a hierarchy. A hierarchy node is either a record, an enumeration value, a technical node (root or a parent for orphans).
-   Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description ObjectgetEnumerationValue()AdaptationgetJoinOccurrence()Returns the association record that links the current node with its parent.AdaptationgetOccurrence()Returns the current record being displayed.HierarchyNodegetParentHierarchyNode()Returns this node's parent node in the hierarchy.booleanisEnumerationNode()Returnstrueif the current node is an enumeration node.booleanisOccurrenceNode()Returnstrueif the current node is a table record node.booleanisOrphansParent()Returnstrueif the current node is the parent of an orphan.booleanisRoot()Returnstrueif the current node is the root of the hierarchy.booleanisTarget()Returnstrueif the current record is a record in the target table.booleanisTerminal()Returnstrueif the current node has no children in the hierarchy.
 
-   
-   Method Detail- getParentHierarchyNode- HierarchyNode getParentHierarchyNode() Returns this node's parent node in the hierarchy.
 - getOccurrence- Adaptation getOccurrence() Returns the current record being displayed.- Warning: if this node is an enumeration node, a root or an orphan's parent, this method returns - null.- See Also:
- getEnumerationValue()
 
 - getJoinOccurrence- Adaptation getJoinOccurrence() Returns the association record that links the current node with its parent.- 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.- See Also:
- getOccurrence()
 
 - getEnumerationValue- Object getEnumerationValue() - See Also:
- getOccurrence()
 
 - isEnumerationNode- boolean isEnumerationNode() Returns- trueif the current node is an enumeration node. An enumeration corresponds to a- xs:enumerationelement in the data model.- In this case, the method - getOccurrence()returns- null.- See Also:
- getEnumerationValue()
 
 - isOccurrenceNode- boolean isOccurrenceNode() Returns- trueif the current node is a table record node.- In this case, the method - getEnumerationValue()returns- null.- See Also:
- getOccurrence()
 
 - isOrphansParent- boolean isOrphansParent() Returns- trueif the current node is the parent of an orphan.- In this case, the method - getOccurrence()returns- null.
 - isRoot- boolean isRoot() Returns- trueif the current node is the root of the hierarchy.- In this case, the method - getOccurrence()returns- null.
 - isTarget- boolean isTarget() Returns- trueif the current record is a record in the target table.- The target table is the table from which the hierarchy was built. 
 - isTerminal- boolean isTerminal() Returns- trueif the current node has no children in the hierarchy.
 
 
-