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

## biouml.standard.type
Class KineticType.Element

public static class KineticType.Element
implements SerializableAsText

This class is used to specify roles for each element in kinetic function. The possible roles are:

- Element.CONSTANT (default value)
- RelationType.REACTANT
- RelationType.PRODUCT
- RelationType.MODIFIER

The Element can be stored as text (implements SerializableAsText) in following format:

    name role

Here are some examples:

    S reactant

    Km constant

Field Summary
`final static String` | `CONSTANT` String constant to indicate that Element.role is constant.

Constructor Summary
`KineticType.Element(String name, String role)` General constructor.
`KineticType.Element(String value)` Restores the Element value from the string.

Method Summary
`String` | `getAsText()`
`String` | `getName()`
`String` | `getRole()`
`void` | `setRole(String role)`

Field Detail

### CONSTANT

    public final static String CONSTANT

  String constant to indicate that Element.role is constant.

Constructor Detail

### KineticType.Element

    public KineticType.Element(String name, String role)

  General constructor.

### KineticType.Element

    public KineticType.Element(String value)

  Restores the Element value from the string.

Method Detail

### getAsText

    public String getAsText()

### getName

    public String getName()

### getRole

    public String getRole()

### setRole

    public void setRole(String role)

Association Links

to Class java.lang.String

  String constant to indicate that {@link Element.role} is constant.

to Class java.lang.String

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