|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjp.sbi.celldesigner.plugin.PluginSBase
jp.sbi.celldesigner.plugin.PluginUnitDefinition
public class PluginUnitDefinition
This class wraps org.sbml.libsbml.UnitDefinition for the plug-in.
| Field Summary |
|---|
| Fields inherited from class jp.sbi.celldesigner.plugin.PluginSBase |
|---|
sbase |
| Constructor Summary | |
|---|---|
PluginUnitDefinition(java.lang.String id)
Constructor |
|
| Method Summary | |
|---|---|
void |
addUnit(PluginUnit unit)
Sets the PluginUnit of this PluginUnitDefinition. |
java.lang.String |
getId()
|
PluginListOf |
getListOfUnits()
|
java.lang.String |
getName()
|
int |
getNumUnits()
|
PluginUnit |
getUnit(int index)
Gets the PluginUnit with the given index. |
void |
removeUnit(int index)
Removes the PluginUnit with the given index from this PluginUnitDefinition. |
void |
removeUnit(PluginUnit unit)
Removes the PluginUnit from this PluginUnitDefinition. |
void |
setListOfUnits(PluginListOf listOfUnits)
Sets the list of PluginUnit of this PluginUnitDefinition |
void |
setName(java.lang.String name)
Sets the name of this PluginUnitDefinition. |
void |
update(PluginUnitDefinition unit)
Update all properties of this PluginUnitDefinition to the same as the given PluginUnitDefinition. |
| Methods inherited from class jp.sbi.celldesigner.plugin.PluginSBase |
|---|
addCVTerm, ChangeCVTermToMiriamDefinition, getAnnotation, getAnnotationString, getCVTerm, getNotes, getNotesString, getNumCVTerms, getParentSBase, getRelationFromCVTerm, setAnnotation, setAnnotationString, setCVTerm, setNotes, setNotes, setParentSBase, toSBML |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PluginUnitDefinition(java.lang.String id)
id - | Method Detail |
|---|
public void update(PluginUnitDefinition unit)
unit - public java.lang.String getId()
public java.lang.String getName()
public void setName(java.lang.String name)
name - public void addUnit(PluginUnit unit)
unit - public void removeUnit(PluginUnit unit)
unit - public void removeUnit(int index)
index - public PluginUnit getUnit(int index)
index -
public PluginListOf getListOfUnits()
public void setListOfUnits(PluginListOf listOfUnits)
public int getNumUnits()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||