public class SBMLUnitDefinition extends SBMLGenericIdNameObject implements de.unirostock.sems.bives.algorithm.DiffReporter, de.unirostock.sems.bives.markup.Markup
id, name
documentNode, sbmlModel
Constructor and Description |
---|
SBMLUnitDefinition(de.unirostock.sems.xmlutils.ds.DocumentNode documentNode,
SBMLModel sbmlModel)
Instantiates a new SBML unit definition.
|
SBMLUnitDefinition(String name,
SBMLModel sbmlModel)
Instantiates a new SBML base unit.
|
Modifier and Type | Method and Description |
---|---|
boolean |
isBaseUnit()
Checks if this is a base unit.
|
String |
markup() |
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) |
getID, getName, getNameAndId, getNameOrId
addOntologyLink, getAnnotation, getMetaId, getNotes, getOntologyLinks, getSBOTerm
getDocumentNode, getModel
public SBMLUnitDefinition(String name, SBMLModel sbmlModel) throws BivesSBMLParseException
name
- the name of the unitsbmlModel
- the SBML modelBivesSBMLParseException
- the bives sbml parse exceptionpublic SBMLUnitDefinition(de.unirostock.sems.xmlutils.ds.DocumentNode documentNode, SBMLModel sbmlModel) throws BivesSBMLParseException, de.unirostock.sems.bives.exception.BivesDocumentConsistencyException
documentNode
- the document node encoding this entity in the corresponding XML treesbmlModel
- the SBML modelBivesSBMLParseException
- the bives sbml parse exceptionde.unirostock.sems.bives.exception.BivesDocumentConsistencyException
- the bives document consistency exceptionpublic boolean isBaseUnit()
public 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.DiffReporter
public de.unirostock.sems.bives.markup.MarkupElement reportInsert()
reportInsert
in interface de.unirostock.sems.bives.algorithm.DiffReporter
public de.unirostock.sems.bives.markup.MarkupElement reportDelete()
reportDelete
in interface de.unirostock.sems.bives.algorithm.DiffReporter
public String markup()
markup
in interface de.unirostock.sems.bives.markup.Markup
Copyright © 2017 SEMS project @ University of Rostock. All rights reserved.