jigcell.sbml2
Class Rule

java.lang.Object
  extended by jigcell.sbml2.XMLElement
      extended by jigcell.sbml2.SBase
          extended by jigcell.sbml2.Rule
All Implemented Interfaces:
MathElement
Direct Known Subclasses:
AlgebraicRule, VariableRule

public abstract class Rule
extends SBase
implements MathElement

A rule constrains a model variable according to the given equation. The three types of rules are algebraic, assignment, and rate. Algebraic rules define the constrained variable implicitly; assignment and rate rules have an explicit variable.

This code is licensed under the DARPA BioCOMP Open Source License. See LICENSE for more details.

Author:
Nicholas Allen

Field Summary
private  java.lang.String math
           
 
Constructor Summary
Rule()
           
 
Method Summary
 java.lang.String getMath()
           
protected  XMLPrinter print(XMLPrinter parent, java.lang.String name)
           
 void setMath(java.lang.String math)
           
 
Methods inherited from class jigcell.sbml2.SBase
getAnnotations, getMetaid, getNotes, getRDF, isValid, parse, searchListForId, searchListForName, setMetaid, setRDF, setRDF
 
Methods inherited from class jigcell.sbml2.XMLElement
print, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

math

private java.lang.String math
Constructor Detail

Rule

public Rule()
Method Detail

getMath

public final java.lang.String getMath()
Specified by:
getMath in interface MathElement

setMath

public final void setMath(java.lang.String math)
Specified by:
setMath in interface MathElement

print

protected XMLPrinter print(XMLPrinter parent,
                           java.lang.String name)
Overrides:
print in class SBase