org.jscience.ml.sbml
Class Event

java.lang.Object
  extended by org.jscience.ml.sbml.SBase
      extended by org.jscience.ml.sbml.SBaseId
          extended by org.jscience.ml.sbml.Event

public final class Event
extends SBaseId

An instantaneous discontinuous change in the state of the model when a criterion is met.

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


Field Summary
 
Fields inherited from class org.jscience.ml.sbml.SBaseId
id, name
 
Constructor Summary
Event()
          Creates a new instance of Event
 
Method Summary
 SBase getAssignmentsElement()
          Getter for property assignmentsElement.
 java.lang.String getDelay()
          Getter for property delay.
 java.util.List getEventAssignment()
          Getter for property eventAssignment.
 java.lang.String getTimeUnits()
          Getter for property timeUnits.
 java.lang.String getTrigger()
          Getter for property trigger.
 void setAssignmentsElement(SBase assignmentsElement)
          Setter for property assignmentsElement.
 void setDelay(java.lang.String delay)
          Sets the length of time after the event has fired that the event is executed.
 void setTimeUnits(java.lang.String timeUnits)
          Sets the units of time that apply to the delay field.
 void setTrigger(java.lang.String trigger)
          Sets the MathML boolean expression that defines when an event is fired on the transition from false to true.
 java.lang.String toString()
          Get the SBML representation for this class.
 
Methods inherited from class org.jscience.ml.sbml.SBaseId
getId, getName, setId, setName
 
Methods inherited from class org.jscience.ml.sbml.SBase
getAnnotations, getMetaid, getNotes, getRDF, printList, printShortForm, setMetaid, setRDF, setRDF
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Event

public Event()
Creates a new instance of Event

Method Detail

getAssignmentsElement

public SBase getAssignmentsElement()
Getter for property assignmentsElement.

Returns:
Value of property assignmentsElement.

getDelay

public java.lang.String getDelay()
Getter for property delay.

Returns:
Value of property delay.

getEventAssignment

public java.util.List getEventAssignment()
Getter for property eventAssignment.

Returns:
Value of property eventAssignment.

getTimeUnits

public java.lang.String getTimeUnits()
Getter for property timeUnits.

Returns:
Value of property timeUnits.

getTrigger

public java.lang.String getTrigger()
Getter for property trigger.

Returns:
Value of property trigger.

setAssignmentsElement

public void setAssignmentsElement(SBase assignmentsElement)
Setter for property assignmentsElement.

Parameters:
assignmentsElement - New value of property assignmentsElement.

setDelay

public void setDelay(java.lang.String delay)
Sets the length of time after the event has fired that the event is executed.

Parameters:
delay - New value of property delay.

setTimeUnits

public void setTimeUnits(java.lang.String timeUnits)
Sets the units of time that apply to the delay field.

Parameters:
timeUnits - New value of property timeUnits.

setTrigger

public void setTrigger(java.lang.String trigger)
Sets the MathML boolean expression that defines when an event is fired on the transition from false to true.

Parameters:
trigger - New value of property trigger.

toString

public java.lang.String toString()
Get the SBML representation for this class.

Overrides:
toString in class SBase
Returns:
The class's SBML representation