Class SBMLUnit

  • All Implemented Interfaces:
    de.unirostock.sems.bives.markup.Markup

    public class SBMLUnit
    extends SBMLSBase
    implements de.unirostock.sems.bives.markup.Markup
    The Class SBMLUnit representing a factor based on a unit:
     (multiplier * 10^scale * kind)^exponent
            
    Author:
    Martin Scharm
    • Field Detail

      • BASE_UNITS

        public static final String[] BASE_UNITS
        those are BASE_UNITS.
      • PREDEFINED_UNITS

        public static final String[] PREDEFINED_UNITS
        those are predefined units.
    • Constructor Detail

      • SBMLUnit

        public SBMLUnit​(de.unirostock.sems.xmlutils.ds.DocumentNode documentNode,
                        SBMLModel sbmlModel)
                 throws BivesSBMLParseException,
                        de.unirostock.sems.bives.exception.BivesDocumentConsistencyException
        Instantiates a new SBML unit derived from a base unit.
        Parameters:
        documentNode - the document node encoding this entity in the corresponding XML tree
        sbmlModel - the SBML model
        Throws:
        BivesSBMLParseException - the bives sbml parse exception
        de.unirostock.sems.bives.exception.BivesDocumentConsistencyException - the bives document consistency exception
    • Method Detail

      • markup

        public String markup()
        Specified by:
        markup in interface de.unirostock.sems.bives.markup.Markup