Class SBMLParameter
- java.lang.Object
-
- de.unirostock.sems.bives.sbml.parser.SBMLGenericObject
-
- de.unirostock.sems.bives.sbml.parser.SBMLSBase
-
- de.unirostock.sems.bives.sbml.parser.SBMLGenericIdNameObject
-
- de.unirostock.sems.bives.sbml.parser.SBMLParameter
-
- All Implemented Interfaces:
de.unirostock.sems.bives.algorithm.DiffReporter
,de.unirostock.sems.bives.markup.Markup
public class SBMLParameter extends SBMLGenericIdNameObject implements de.unirostock.sems.bives.algorithm.DiffReporter, de.unirostock.sems.bives.markup.Markup
The Class SBMLParameter is used to define a symbol associated with a value; this symbol can then be used in mathematical formulas in a model.- Author:
- Martin Scharm
-
-
Field Summary
-
Fields inherited from class de.unirostock.sems.bives.sbml.parser.SBMLGenericIdNameObject
id, name
-
Fields inherited from class de.unirostock.sems.bives.sbml.parser.SBMLGenericObject
documentNode, sbmlModel
-
-
Constructor Summary
Constructors Constructor Description SBMLParameter(de.unirostock.sems.xmlutils.ds.DocumentNode documentNode, SBMLModel sbmlModel)
Instantiates a new SBML parameter.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description double
getValue()
Gets the value.boolean
isConstant()
Checks if the parameter is constant.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)
-
Methods inherited from class de.unirostock.sems.bives.sbml.parser.SBMLGenericIdNameObject
getID, getName, getNameAndId, getNameOrId
-
Methods inherited from class de.unirostock.sems.bives.sbml.parser.SBMLSBase
addOntologyLink, flagMetaModifcations, getAnnotation, getMetaId, getNotes, getOntologyLinks, getSBOTerm
-
Methods inherited from class de.unirostock.sems.bives.sbml.parser.SBMLGenericObject
getDocumentNode, getModel
-
-
-
-
Constructor Detail
-
SBMLParameter
public SBMLParameter(de.unirostock.sems.xmlutils.ds.DocumentNode documentNode, SBMLModel sbmlModel) throws BivesSBMLParseException
Instantiates a new SBML parameter.- Parameters:
documentNode
- the document node encoding this entity in the corresponding XML treesbmlModel
- the SBML model- Throws:
BivesSBMLParseException
- the bives sbml parse exception
-
-
Method Detail
-
getValue
public double getValue()
Gets the value.- Returns:
- the value
-
isConstant
public boolean isConstant()
Checks if the parameter is constant.- Returns:
- true, if is constant
-
markup
public String markup()
- Specified by:
markup
in interfacede.unirostock.sems.bives.markup.Markup
-
reportModification
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)
- Specified by:
reportModification
in interfacede.unirostock.sems.bives.algorithm.DiffReporter
-
reportInsert
public de.unirostock.sems.bives.markup.MarkupElement reportInsert()
- Specified by:
reportInsert
in interfacede.unirostock.sems.bives.algorithm.DiffReporter
-
reportDelete
public de.unirostock.sems.bives.markup.MarkupElement reportDelete()
- Specified by:
reportDelete
in interfacede.unirostock.sems.bives.algorithm.DiffReporter
-
-