public class CellMLUserUnit.BaseQuantity extends Object implements de.unirostock.sems.bives.markup.Markup
Modifier and Type | Field and Description |
---|---|
double |
exponent
The exponent.
|
double |
multiplier
The multiplier.
|
de.unirostock.sems.xmlutils.ds.DocumentNode |
node
The document node.
|
double |
offset
The offset.
|
int |
prefix
The prefix (power of ten).
|
CellMLUnit |
unit
The unit.
|
Constructor and Description |
---|
BaseQuantity(CellMLUnit unit)
Instantiates a new base quantity.
|
BaseQuantity(de.unirostock.sems.xmlutils.ds.DocumentNode node)
Instantiates a new base quantity.
|
Modifier and Type | Method and Description |
---|---|
String |
markup() |
void |
renameUnit(String original,
String newName)
Rename the corresponding unit.
|
public CellMLUnit unit
public double multiplier
public double offset
public int prefix
public double exponent
public de.unirostock.sems.xmlutils.ds.DocumentNode node
public BaseQuantity(CellMLUnit unit)
unit
- the unitpublic BaseQuantity(de.unirostock.sems.xmlutils.ds.DocumentNode node) throws BivesCellMLParseException, de.unirostock.sems.bives.exception.BivesDocumentConsistencyException
node
- the corresponding node in the XML treeBivesCellMLParseException
- the bives cell ml parse exceptionde.unirostock.sems.bives.exception.BivesDocumentConsistencyException
- the bives document consistency exceptionpublic String markup()
markup
in interface de.unirostock.sems.bives.markup.Markup
public void renameUnit(String original, String newName) throws de.unirostock.sems.bives.exception.BivesLogicalException
original
- the original namenewName
- the new namede.unirostock.sems.bives.exception.BivesLogicalException
- the bives logical exceptionCopyright © 2015 SEMS project @ University of Rostock. All rights reserved.