public class PluginEvent extends PluginSBase
sbase
Constructor and Description |
---|
PluginEvent(java.lang.String id)
Constructor
|
Modifier and Type | Method and Description |
---|---|
void |
addEventAssignment(PluginEventAssignment event)
Adds a PluginEventAssignment to the list.
|
org.sbml.libsbml.Delay |
getDelay() |
PluginEventAssignment |
getEventAssignment(int index)
Gets the PluginEventAssignment with the given index
|
java.lang.String |
getId() |
PluginListOf |
getListOfEventAssignments() |
java.lang.String |
getName() |
int |
getNumEventAssignments() |
java.lang.String |
getTimeUnits() |
org.sbml.libsbml.Trigger |
getTrigger() |
boolean |
getUseValuesFromTriggerTime() |
void |
removeEventAssignment(int index)
Removes the PluginAssignment with the given index from the list.
|
void |
removeEventAssignment(PluginEventAssignment event)
Removes a PluginEventAssignment from the list.
|
void |
setDelay(org.sbml.libsbml.ASTNode delay)
Sets the delay of this PluginEvent to the given ASTNode.
|
void |
setDelay(org.sbml.libsbml.Delay delay) |
void |
setListOfEventAssignments(PluginListOf listOfEventAssignments)
Sets the list of PluginEventAssignment of this PluginEvent.
|
void |
setName(java.lang.String name)
Sets the name of this PluginEvent.
|
void |
setTimeUnits(java.lang.String time)
Sets the timeUnits of this PluginEvent to the given string.
|
void |
setTrigger(org.sbml.libsbml.ASTNode trigger)
Sets the trigger of this PluginEvent to the given ASTNode.
|
void |
setTrigger(org.sbml.libsbml.Trigger trigger) |
void |
setUseValuesFromTriggerTime(boolean useValuesFromTriggerTime) |
void |
update(PluginEvent event)
Update all properties of this PluginEvent to the same as the given PluginEvent.
|
addCVTerm, ChangeCVTermToMiriamDefinition, getAnnotation, getAnnotationString, getCVTerm, getNotes, getNotesString, getNumCVTerms, getParentSBase, getRelationFromCVTerm, setAnnotation, setAnnotationString, setCVTerm, setNotes, setNotes, setParentSBase, toSBML
public PluginEvent(java.lang.String id)
id
- the id of this PluginEvent.public void update(PluginEvent event)
event
- PluginEventpublic java.lang.String getId()
public java.lang.String getName()
public void setName(java.lang.String name)
name
- Stringpublic org.sbml.libsbml.Delay getDelay()
public void setDelay(org.sbml.libsbml.ASTNode delay)
delay
- ASTNodepublic void setDelay(org.sbml.libsbml.Delay delay)
public java.lang.String getTimeUnits()
public void setTimeUnits(java.lang.String time)
time
- Stringpublic boolean getUseValuesFromTriggerTime()
public void setUseValuesFromTriggerTime(boolean useValuesFromTriggerTime)
public org.sbml.libsbml.Trigger getTrigger()
public void setTrigger(org.sbml.libsbml.ASTNode trigger)
trigger
- ASTNodepublic void setTrigger(org.sbml.libsbml.Trigger trigger)
public PluginListOf getListOfEventAssignments()
public void setListOfEventAssignments(PluginListOf listOfEventAssignments)
listOfEventAssignments
- the list of PluginEventAssignment.public void addEventAssignment(PluginEventAssignment event)
event
- PluginEventAssignmentpublic void removeEventAssignment(PluginEventAssignment event)
event
- PluginEventAssignment.public void removeEventAssignment(int index)
index
- intpublic PluginEventAssignment getEventAssignment(int index)
index
- intpublic int getNumEventAssignments()