public class CellMLHierarchy extends Object
Modifier and Type | Field and Description |
---|---|
static int |
RELATION_ENCAPSULATED
The Constant RELATION_ENCAPSULATED => component 1 is encapsulated in component 2.
|
static int |
RELATION_HIDDEN
The Constant RELATION_HIDDEN => components cannot see each other.
|
static int |
RELATION_PARENT
The Constant RELATION_PARENT => component 1 is parent of component 2 .
|
static int |
RELATION_SIBLING
The Constant RELATION_SIBLING => components are siblings.
|
Constructor and Description |
---|
CellMLHierarchy(CellMLModel model)
Instantiates a new CellML hierarchy object.
|
Modifier and Type | Method and Description |
---|---|
CellMLHierarchyNetwork |
getEncapsulationHierarchyNetwork()
Gets the encapsulation hierarchy network.
|
int |
getEncapsulationRelationship(CellMLComponent component_1,
CellMLComponent component_2)
Gets the encapsulation relationship of two components.
|
CellMLHierarchyNetwork |
getHierarchyNetwork(String relationship,
String name)
Gets a specific hierarchy network.
|
void |
parseGroup(de.unirostock.sems.xmlutils.ds.DocumentNode node)
Parses a component group.
|
public static final int RELATION_HIDDEN
public static final int RELATION_SIBLING
public static final int RELATION_PARENT
public static final int RELATION_ENCAPSULATED
public CellMLHierarchy(CellMLModel model)
model
- the modelpublic CellMLHierarchyNetwork getEncapsulationHierarchyNetwork()
public CellMLHierarchyNetwork getHierarchyNetwork(String relationship, String name)
relationship
- the name of the relationshipname
- the name of the hierarchypublic void parseGroup(de.unirostock.sems.xmlutils.ds.DocumentNode node) throws BivesCellMLParseException, de.unirostock.sems.bives.exception.BivesLogicalException
node
- the corresponding document node in the XML treeBivesCellMLParseException
- the bives cell ml parse exceptionde.unirostock.sems.bives.exception.BivesLogicalException
- the bives logical exceptionpublic int getEncapsulationRelationship(CellMLComponent component_1, CellMLComponent component_2) throws de.unirostock.sems.bives.exception.BivesLogicalException
component_1
- the first componentcomponent_2
- the second componentde.unirostock.sems.bives.exception.BivesLogicalException
- the bives logical exceptionCopyright © 2017 SEMS project @ University of Rostock. All rights reserved.