Overview | Package | Class | Use | Tree | Help
| HEADER
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## 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()`
`String` | `getFormula()`
`EModelRole` | `getRole()`
`boolean` | `isExpression(String propertyName)`
`void` | `setFormula(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

Overview | Package | Class | Use | Tree | Help
| FOOTER
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

BOTTOM