CellMLUserUnit
public class CellMLUnit extends CellMLEntity
model
Modifier | Constructor | Description |
---|---|---|
protected |
CellMLUnit(CellMLModel model,
String name,
de.unirostock.sems.xmlutils.ds.DocumentNode node) |
Instantiates a new CellML unit as defined in a CellML model.
|
Modifier and Type | Method | Description |
---|---|---|
static CellMLUnit |
createStandardUnit(String name) |
Instantiates a standard CellML unit.
|
String |
getName() |
Gets the name of this unit.
|
boolean |
isStandardUnits() |
Checks if it is a standard unit.
|
void |
setName(String name) |
Sets the name of this unit.
|
String |
toString() |
associateRdfDescription, flagMetaModifcations, getDocumentNode, getMetaId, getModel, getRdfBlocks, getRdfDescriptions, setMetaId, setModel
protected CellMLUnit(CellMLModel model, String name, de.unirostock.sems.xmlutils.ds.DocumentNode node) throws de.unirostock.sems.bives.exception.BivesLogicalException
model
- the model that defines the unitname
- the name of the unitnode
- the corresponding node in the XML treede.unirostock.sems.bives.exception.BivesLogicalException
public static CellMLUnit createStandardUnit(String name) throws de.unirostock.sems.bives.exception.BivesLogicalException
name
- the name of the unitde.unirostock.sems.bives.exception.BivesLogicalException
public String getName()
public void setName(String name)
name
- the new namepublic boolean isStandardUnits()
Copyright © 2018 SEMS project @ University of Rostock. All rights reserved.