HEADER

biouml.model.dynamics
Class Function

|
+--biouml.model.dynamics.EModelRoleSupport
  |
  +--biouml.model.dynamics.Function

public class Function
extends EModelRoleSupport
implements ExpressionOwner

Wrapper for MathML lambda element. Also corresponds SBML level 2 function element. Function can be defined as MathML lambda element, for example:

<lambda>
<bvar><ci> x </ci></bvar>
<bvar><ci> y </ci></bvar>
<apply>
<sin/>
<apply>
<plus/>
<ci> x </ci>
<cn> y </cn>
</apply>
</apply>
</lambda>
or as text, using linear syntax, for example:
 f(x,y) := sin(x+y) 

Constructor Summary
Function(DiagramElement diagramElement)
           

Method Summary
 String[]getExpressions()
           
 StringgetFormula()
           
 EModelRolegetRole()
           
 booleanisExpression(String propertyName)
           
 voidsetFormula(String formula)
           

Methods inherited from class biouml.model.dynamics.EModelRoleSupport
clone, getComment, getDiagramElement, setComment

Constructor Detail

Function

public Function(DiagramElement diagramElement)
Method Detail

getExpressions

public String[] getExpressions()

getFormula

public String getFormula()

getRole

public EModelRole getRole()

isExpression

public boolean isExpression(String propertyName)

setFormula

public void setFormula(String formula)

Association Links

to Class java.lang.String


FOOTER

BOTTOM