Class SBMLRule

  • All Implemented Interfaces:
    de.unirostock.sems.bives.algorithm.DiffReporter
    Direct Known Subclasses:
    SBMLAlgebraicRule, SBMLAssignmentRule, SBMLRateRule

    public abstract class SBMLRule
    extends SBMLSBase
    implements de.unirostock.sems.bives.algorithm.DiffReporter
    The abstract Class SBMLRule. In SBML, Rules provide additional ways to define the values of variables in a model, their relationships, and the dynamical behaviors of those variables.
    Author:
    Martin Scharm
    • Field Detail

      • ASSIGNMENT_RULE

        public static final int ASSIGNMENT_RULE
        The flag ASSIGNMENT_RULE.
        See Also:
        Constant Field Values
      • ALGEBRAIC_RULE

        public static final int ALGEBRAIC_RULE
        The flag ALGEBRAIC_RULE.
        See Also:
        Constant Field Values
      • math

        protected de.unirostock.sems.bives.ds.MathML math
        The math.
      • type

        protected int type
        The type flag encoding the type of rule.
    • Constructor Detail

      • SBMLRule

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

      • getMath

        public de.unirostock.sems.bives.ds.MathML getMath()
        Gets the math.
        Returns:
        the math
      • getRuleType

        public int getRuleType()
        Gets the rule type. (see static flags)
        Returns:
        the rule type