de.unirostock.sems.bives.algorithm.DiffReporter, de.unirostock.sems.bives.markup.Markuppublic class CellMLUserUnit extends CellMLUnit implements de.unirostock.sems.bives.algorithm.DiffReporter, de.unirostock.sems.bives.markup.Markup
| Modifier and Type | Class | Description |
|---|---|---|
class |
CellMLUserUnit.BaseQuantity |
The Class BaseQuantity.
|
model| Constructor | Description |
|---|---|
CellMLUserUnit(CellMLModel model,
CellMLUnitDictionary dict,
CellMLComponent component,
de.unirostock.sems.xmlutils.ds.DocumentNode node) |
Instantiates a new CellML user unit.
|
| Modifier and Type | Method | Description |
|---|---|---|
void |
getDependencies(Map<CellMLUserUnit,List<CellMLEntity>> list) |
Add the units this unit depends on to a global list of dependencies.
|
String |
markup() |
|
void |
renameUnit(String original,
String newName) |
Rename the corresponding unit.
|
de.unirostock.sems.bives.markup.MarkupElement |
reportDelete() |
|
de.unirostock.sems.bives.markup.MarkupElement |
reportInsert() |
|
de.unirostock.sems.bives.markup.MarkupElement |
reportModification(de.unirostock.sems.bives.algorithm.SimpleConnectionManager conMgmt,
de.unirostock.sems.bives.algorithm.DiffReporter docA,
de.unirostock.sems.bives.algorithm.DiffReporter docB) |
|
static int |
scale(String s) |
Get the scaling factor given a textual representation.
|
associateRdfDescription, flagMetaModifcations, getDocumentNode, getMetaId, getModel, getRdfBlocks, getRdfDescriptions, setMetaId, setModelcreateStandardUnit, getName, isStandardUnits, setName, toStringpublic CellMLUserUnit(CellMLModel model, CellMLUnitDictionary dict, CellMLComponent component, de.unirostock.sems.xmlutils.ds.DocumentNode node) throws BivesCellMLParseException, de.unirostock.sems.bives.exception.BivesDocumentConsistencyException, de.unirostock.sems.bives.exception.BivesLogicalException
model - the model that defines the unitdict - the unit dictionarycomponent - the corresponding component, if not defined globallynode - the corresponding node in the XML treeBivesCellMLParseException - the bives cell ml parse exceptionde.unirostock.sems.bives.exception.BivesDocumentConsistencyException - the bives document consistency exceptionde.unirostock.sems.bives.exception.BivesLogicalExceptionpublic static final int scale(String s) throws BivesCellMLParseException
kilo becomes 3, exa becomes 18, and femto becomes -15.s - the scaling factor as a stringBivesCellMLParseException - the bives cell ml parse exceptionpublic String markup()
markup in interface de.unirostock.sems.bives.markup.Markuppublic void getDependencies(Map<CellMLUserUnit,List<CellMLEntity>> list)
list - the global list of dependenciespublic de.unirostock.sems.bives.markup.MarkupElement reportModification(de.unirostock.sems.bives.algorithm.SimpleConnectionManager conMgmt,
de.unirostock.sems.bives.algorithm.DiffReporter docA,
de.unirostock.sems.bives.algorithm.DiffReporter docB)
reportModification in interface de.unirostock.sems.bives.algorithm.DiffReporterpublic de.unirostock.sems.bives.markup.MarkupElement reportInsert()
reportInsert in interface de.unirostock.sems.bives.algorithm.DiffReporterpublic de.unirostock.sems.bives.markup.MarkupElement reportDelete()
reportDelete in interface de.unirostock.sems.bives.algorithm.DiffReporterpublic 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 © 2018 SEMS project @ University of Rostock. All rights reserved.