public class HierarchyNetwork extends Object
A HierarchyNetwork contains components which may contain variables. Moreover, there may be directed connections from parent components to
child components representing the hierarchy among components.
In addition, variables can be connected visualizing the flow of information between them.
see also HierarchyNetwork
Constructor and Description |
---|
HierarchyNetwork()
Instantiates a new hierarchy network.
|
Modifier and Type | Method and Description |
---|---|
HierarchyNetworkComponent |
getComponent(de.unirostock.sems.xmlutils.ds.TreeNode node)
Gets a component.
|
Collection<HierarchyNetworkComponent> |
getComponents()
Gets the components.
|
int |
getNextComponentID()
Gets the next component id.
|
int |
getNextVariableID()
Gets the next variable id.
|
HierarchyNetworkVariable |
getVariable(de.unirostock.sems.xmlutils.ds.TreeNode node)
Gets a variable.
|
Collection<HierarchyNetworkVariable> |
getVariables()
Gets the variables.
|
void |
setComponent(de.unirostock.sems.xmlutils.ds.TreeNode node,
HierarchyNetworkComponent comp)
Adds a new component to the hierarchy.
|
void |
setSingleDocument()
Sets the single document flag for non-comparison graphs.
|
void |
setVariable(de.unirostock.sems.xmlutils.ds.TreeNode node,
HierarchyNetworkVariable var)
Adds a new variable.
|
public Collection<HierarchyNetworkComponent> getComponents()
public Collection<HierarchyNetworkVariable> getVariables()
public int getNextComponentID()
public int getNextVariableID()
public void setComponent(de.unirostock.sems.xmlutils.ds.TreeNode node, HierarchyNetworkComponent comp)
node
- the node in the document treecomp
- the network componentpublic void setVariable(de.unirostock.sems.xmlutils.ds.TreeNode node, HierarchyNetworkVariable var)
node
- the node in the document treevar
- the variablepublic HierarchyNetworkComponent getComponent(de.unirostock.sems.xmlutils.ds.TreeNode node)
node
- the node from the document treepublic HierarchyNetworkVariable getVariable(de.unirostock.sems.xmlutils.ds.TreeNode node)
node
- the node from the document treepublic void setSingleDocument()
Copyright © 2019 SEMS project @ University of Rostock. All rights reserved.