public class CellMLHierarchyNode extends Object
Constructor and Description |
---|
CellMLHierarchyNode(CellMLComponent component)
Instantiates a new CellML hierarchy node.
|
Modifier and Type | Method and Description |
---|---|
void |
addChild(CellMLHierarchyNode child)
Adds a child node.
|
List<CellMLHierarchyNode> |
getChildren()
Gets the children.
|
CellMLComponent |
getComponent()
Gets the component behind this node.
|
CellMLHierarchyNode |
getParent()
Gets the parent node.
|
void |
setParent(CellMLHierarchyNode parent)
Sets the parent node.
|
String |
toString() |
public CellMLHierarchyNode(CellMLComponent component)
component
- the corresponding componentpublic CellMLComponent getComponent()
public void setParent(CellMLHierarchyNode parent)
parent
- the new parentpublic CellMLHierarchyNode getParent()
public void addChild(CellMLHierarchyNode child)
child
- the childpublic List<CellMLHierarchyNode> getChildren()
Copyright © 2015 SEMS project @ University of Rostock. All rights reserved.