jp.sbi.celldesigner.plugin
Class PluginRule
java.lang.Object
jp.sbi.celldesigner.plugin.PluginSBase
jp.sbi.celldesigner.plugin.PluginRule
- Direct Known Subclasses:
- PluginAlgebraicRule, PluginAssignmentRule, PluginRateRule
public class PluginRule
- extends PluginSBase
This class wraps org.sbml.libsbml.Rule for the plug-in.
- Author:
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PluginRule
public PluginRule()
update
public void update(PluginRule rule)
- Update all properties of this PluginRule to the same as the given PluginRule.
- Parameters:
rule -
getMath
public ASTNode getMath()
- Returns:
- the Math of this PluginRule.
setMath
public void setMath(ASTNode math)
- Sets the Math of this PluginRule.
- Parameters:
math -
getFormula
public java.lang.String getFormula()
- Returns:
- Formula of this PluginRule.
setFormula
public void setFormula(java.lang.String fomula)
- Sets the Formula of this PluginRule.
- Parameters:
fomula -
getParentModel
public PluginModel getParentModel()
- Returns:
- the parent PluginModel if the ParentSBase is PluginModel, null otherwise.