public class PluginModel extends PluginSBase
Modifier and Type | Field and Description |
---|---|
protected org.sbml.libsbml.Model |
modelBase |
sbase
Constructor and Description |
---|
PluginModel(org.sbml.libsbml.Model model)
Constructor
|
Modifier and Type | Method and Description |
---|---|
void |
addCompartment(PluginCompartment compartment)
Adds a PluginCompartment to the list.
|
void |
addCompartmentType(PluginCompartmentType compartmentType) |
void |
addConstraint(PluginConstraint constraint) |
void |
addEvent(PluginEvent event)
Adds the PluginEvent to the list.
|
void |
addFunctionDefinition(PluginFunctionDefinition function)
Adds a PluginFunctionDefinition to the list.
|
void |
addInitialAssignment(PluginInitialAssignment initialAssignment) |
void |
addParameter(PluginParameter parameter)
Adds the PluginParameter to the list.
|
void |
addReaction(PluginReaction reaction)
Adds a PluginReaction to the list.
|
void |
addRule(PluginRule rule)
Adds a PluginRule to the list.
|
void |
addSpecies(PluginSpecies species)
Adds a PluginSpecies to the list in this PluginModel.
|
void |
addSpeciesType(PluginSpeciesType speciesType) |
void |
addUnitDefinition(PluginUnitDefinition unit)
Adds a PluginUnitDefinition to the list.
|
void |
appendProtein(PluginProtein protein)
Adds the PluginProtein to the list.
|
PluginAntiSenseRNA |
getAntiSenseRNA(java.lang.String id)
Gets the PluginAntiSenseRNA with the given id.
|
PluginCompartment |
getCompartment(int index)
Gets the PluginCompartment with the given index.
|
PluginCompartment |
getCompartment(java.lang.String id)
Gets the PluginCompartment with the given id.
|
PluginCompartmentType |
getCompartmentType(int index) |
PluginCompartmentType |
getCompartmentType(java.lang.String id) |
PluginConstraint |
getConstraint(int index) |
PluginConstraint |
getConstraint(java.lang.String strMath) |
PluginEvent |
getEvent(int index)
Gets the PluginEvent with the given index.
|
PluginEvent |
getEvent(java.lang.String id)
Gets the PluginEvent with the given id.
|
PluginFunctionDefinition |
getFunctionDefinition(int index)
Gets the PluginFunctionDefinition with the given index.
|
PluginFunctionDefinition |
getFunctionDefinition(java.lang.String id)
Gets the PluginFunctionDefinition with the given id.
|
PluginGene |
getGene(java.lang.String id)
Gets the PluginGene with the given id.
|
java.lang.String |
getId() |
PluginInitialAssignment |
getInitialAssignment(int index) |
PluginInitialAssignment |
getInitialAssignment(java.lang.String symbol) |
PluginListOf |
getListOfAllSpeciesAlias() |
PluginListOf |
getListOfAllSpeciesAlias(java.lang.String speciesid) |
PluginListOf |
getListOfAntiSenseRNAs() |
PluginListOf |
getListOfCompartments() |
PluginListOf |
getListOfCompartmentTypes() |
PluginListOf |
getListOfConstraints() |
PluginListOf |
getListOfEvents() |
PluginListOf |
getListOfFunctionDefinitions() |
PluginListOf |
getListOfGenes() |
PluginListOf |
getListOfInitialAssignments() |
PluginListOf |
getListOfParameters() |
PluginListOf |
getListOfProteins() |
PluginListOf |
getListOfReactions() |
PluginListOf |
getListOfRNAs() |
PluginListOf |
getListOfRules() |
PluginListOf |
getListOfSpecies() |
PluginListOf |
getListOfSpecies(PluginAntiSenseRNA rna) |
PluginListOf |
getListOfSpecies(PluginGene rna) |
PluginListOf |
getListOfSpecies(PluginProtein rna)
Gets the list of PluginProtein added the given PluginProtein to.
|
PluginListOf |
getListOfSpecies(PluginRNA rna) |
PluginListOf |
getListOfSpeciesTypes() |
PluginListOf |
getListOfUnitDefinitions() |
java.lang.String |
getName() |
int |
getNumCompartments() |
int |
getNumCompartmentTypes() |
int |
getNumConstraints() |
int |
getNumEvents() |
int |
getNumFunctionDefinitions() |
int |
getNumInitialAssignments() |
int |
getNumParameters() |
int |
getNumReactions() |
int |
getNumRules() |
int |
getNumSpecies() |
int |
getNumSpeciesTypes() |
int |
getNumUnitDefinitions() |
PluginParameter |
getParameter(int index)
Gets the PluginParameter with the given index.
|
PluginParameter |
getParameter(java.lang.String id)
Gets the PluginParameter with the given id.
|
PluginSpeciesAlias |
getPluginSpeciesAlias(java.lang.String aliasID)
Gets PluginSpeciesAlias with the given id.
|
PluginProtein |
getProtein(java.lang.String id)
Gets the PluginProtein with the given id.
|
java.lang.String |
getPureSBMLString() |
PluginReaction |
getReaction(int index)
Gets the PluginReaction with the given index.
|
PluginReaction |
getReaction(java.lang.String id)
Gets the PluginReaction with the given id.
|
PluginRNA |
getRNA(java.lang.String id)
Gets the PluginRNA with the given id.
|
PluginRule |
getRule(int index)
Gets the PluginRule with the given index from the list.
|
PluginSpecies |
getSpecies(int index)
Gets the PluginSpecies with the given index.
|
PluginSpecies |
getSpecies(java.lang.String id)
Gets the PluginSpecies with the given id.
|
PluginSpeciesType |
getSpeciesType(int index) |
PluginSpeciesType |
getSpeciesType(java.lang.String id) |
PluginUnitDefinition |
getUnitDefinition(int index)
Gets the PluginUnitDefinition with the given index.
|
PluginUnitDefinition |
getUnitDefinition(java.lang.String id)
Gets the PluginUnitDefinition with the given id.
|
boolean |
isReferenceSameModel(PluginSBase any) |
boolean |
isSameModel(org.sbml.libsbml.Model any) |
void |
removeAntiSenseRNA(int index)
Removes the PluginAntiSenseRNA with the given index from the list.
|
void |
removeAntiSenseRNA(PluginAntiSenseRNA rna)
Removes the given PluginAntiSenseRNA from the list.
|
void |
removeCompartment(int index)
Removes the PluginCompartment with the given index from the list.
|
void |
removeCompartment(PluginCompartment compartment)
Removes the given PluginCompartment from the list.
|
void |
removeCompartment(java.lang.String id)
Removes the PluginCompartment with the given id from the list.
|
void |
removeCompartmentType(int index) |
void |
removeCompartmentType(PluginCompartmentType compartmentType) |
void |
removeCompartmentType(java.lang.String id) |
void |
removeConstraint(int index) |
void |
removeConstraint(PluginConstraint constraint) |
void |
removeConstraint(java.lang.String strMath) |
void |
removeEvent(int index)
Removes the PluginEvent with the given index.
|
void |
removeEvent(PluginEvent event)
Removes the given PluginEvent from the list.
|
void |
removeEvent(java.lang.String id)
Remove the PluginEvent with the given id.
|
void |
removeFunctionDefinition(int index)
Removes the PluginFunctionDefinition with the given index from the list.
|
void |
removeFunctionDefinition(PluginFunctionDefinition function)
Removes the given PluginFunctionDefinition from the list.
|
void |
removeFunctionDefinition(java.lang.String id)
Removes the PluginFunctionDefinition with the given id from the list.
|
void |
removeGene(int index)
Removes the PluginGene with the given index from the list.
|
void |
removeGene(PluginGene rna)
Removes the given PluginGene from the list.
|
void |
removeInitialAssignment(int index) |
void |
removeInitialAssignment(PluginInitialAssignment initialAssignment) |
void |
removeInitialAssignment(java.lang.String symbol) |
void |
removeParameter(int index)
Removes the PluginParameter with the given index to the list.
|
void |
removeParameter(PluginParameter parameter)
Remove the given PluginParameter from the list.
|
void |
removeParameter(java.lang.String id)
Remove the PluginParameter with the given id.
|
void |
removeProtein(int index)
Removes the PluginProtein with the given index.
|
void |
removeProtein(PluginProtein rna)
Removes the given PluginProtein from the list.
|
void |
removeReaction(int index)
Removes the PluginReaction with the given index from the list.
|
void |
removeReaction(PluginReaction reaction)
Removes the given PluginReaction from the list.
|
void |
removeReaction(java.lang.String id)
Removes the PluginReaction with the given id from the list.
|
void |
removeRNA(int index)
Removes the PluginRNA with the given index from the list.
|
void |
removeRNA(PluginRNA rna)
Adds a PluginRNA to the list
|
void |
removeRule(int index)
Removes the PluginRule with the given index from the list.
|
void |
removeRule(PluginRule rule)
Removes the given PluginRule from the list.
|
void |
removeSpecies(int index)
Removes the PluginSpecies with the given index from the list.
|
void |
removeSpecies(java.lang.String id)
Removes the PluginSpecies with the given id from the list
|
void |
removeSpeciesType(int index) |
void |
removeSpeciesType(PluginSpeciesType speciesType) |
void |
removeSpeciesType(java.lang.String id) |
void |
removeUnitDefinition(int index)
Remove the PluginUnitDefinition with the given index from the list.
|
void |
removeUnitDefinition(PluginUnitDefinition unit)
Remove the given PluginUnitDefinition from the list.
|
void |
removeUnitDefinition(java.lang.String id)
Removes the PluginUnitDefinition with the given id from the list.
|
void |
setListOfAntiSenseRNAs(PluginListOf listOfAntiSenseRNAs)
Sets the list of PluginAntiSenseRNA of this PluginModel.
|
void |
setListOfCompartments(PluginListOf listOfCompartments)
Sets the list of PluginCompartment of this PluginModel
|
void |
setListOfCompartmentTypes(PluginListOf listOfCompartmentTypes) |
void |
setListOfConstraints(PluginListOf listOfConstraints) |
void |
setListOfEvents(PluginListOf listOfEvents)
Sets the list of PluginEvent of this PluginModel.
|
void |
setListOfFunctionDefinitions(PluginListOf listOfFunctionDefinitions)
Sets the list of PluginFunctionDefinition of this PluginModel.
|
void |
setListOfGenes(PluginListOf listOfGenes)
Sets the list of PluginGene of this PluginModel.
|
void |
setListOfInitialAssignments(PluginListOf listOfInitialAssignments) |
void |
setListOfParameters(PluginListOf listOfParameters)
Sets the list of PluginParameter of this PluginModel.
|
void |
setListOfProteins(PluginListOf listOfProteins)
Sets the list of PluginProtein of this PluginModel.
|
void |
setListOfReactions(PluginListOf listOfReactions)
Sets the PluginReaction of this PluginModel.
|
void |
setListOfRNAs(PluginListOf listOfRNAs)
Sets the list of PluginRNA of this PluginModel.
|
void |
setListOfRules(PluginListOf listOfRules)
Sets the list of PluginRule of this PluginModel.
|
void |
setListOfSpecies(PluginListOf listOfSpecies)
Sets the list of PluginSpecies of this PluginModel.
|
void |
setListOfSpeciesTypes(PluginListOf listOfSpeciesTypes) |
void |
setListOfUnitDefinitions(PluginListOf listOfUnitDefinitions)
Sets the list of PluginUnitDefinition of this PluginModel
|
void |
setName(java.lang.String name)
Sets the name of this PluginModel.
|
void |
toSBMLString() |
void |
update(PluginModel model)
Update all properties of this PluginModel to the same as the given PluginModel
|
addCVTerm, ChangeCVTermToMiriamDefinition, getAnnotation, getAnnotationString, getCVTerm, getNotes, getNotesString, getNumCVTerms, getParentSBase, getRelationFromCVTerm, setAnnotation, setAnnotationString, setCVTerm, setNotes, setNotes, setParentSBase, toSBML
public PluginModel(org.sbml.libsbml.Model model)
model
- Modelpublic void update(PluginModel model)
model
- PluginModelpublic void toSBMLString()
public java.lang.String getId()
public java.lang.String getPureSBMLString()
public java.lang.String getName()
public void setName(java.lang.String name)
name
- Stringpublic PluginListOf getListOfCompartments()
public void setListOfCompartments(PluginListOf listOfCompartments)
listOfCompartments
- the list of PluginCompartmentpublic PluginListOf getListOfEvents()
public void setListOfEvents(PluginListOf listOfEvents)
listOfEvents
- the list of PluginEventpublic PluginListOf getListOfFunctionDefinitions()
public void setListOfFunctionDefinitions(PluginListOf listOfFunctionDefinitions)
listOfFunctionDefinitions
- the list of PluginFunctionDefinitionpublic PluginListOf getListOfParameters()
public void setListOfParameters(PluginListOf listOfParameters)
listOfParameters
- the list of PluginParameterpublic PluginListOf getListOfReactions()
public void setListOfReactions(PluginListOf listOfReactions)
listOfReactions
- the list of PluginReaction.public PluginListOf getListOfRules()
public void setListOfRules(PluginListOf listOfRules)
listOfRules
- the list of PluginRulepublic PluginListOf getListOfSpecies()
public void setListOfSpecies(PluginListOf listOfSpecies)
listOfSpecies
- the listOfPluginSpeciespublic PluginListOf getListOfUnitDefinitions()
public void setListOfUnitDefinitions(PluginListOf listOfUnitDefinitions)
listOfUnitDefinitions
- the list of PluginUnitDefinitionpublic PluginListOf getListOfSpeciesTypes()
public void setListOfSpeciesTypes(PluginListOf listOfSpeciesTypes)
public PluginListOf getListOfCompartmentTypes()
public void setListOfCompartmentTypes(PluginListOf listOfCompartmentTypes)
public PluginListOf getListOfInitialAssignments()
public void setListOfInitialAssignments(PluginListOf listOfInitialAssignments)
public PluginListOf getListOfConstraints()
public void setListOfConstraints(PluginListOf listOfConstraints)
public void addSpecies(PluginSpecies species)
species
- PluginSpeciespublic void removeSpecies(java.lang.String id)
id
- Stringpublic void removeSpecies(int index)
index
- intpublic PluginSpecies getSpecies(int index)
index
- intpublic PluginSpecies getSpecies(java.lang.String id)
id
- Stringpublic void addCompartment(PluginCompartment compartment)
compartment
- PluginCompartmentpublic void removeCompartment(PluginCompartment compartment)
compartment
- PluginCompartmentpublic void removeCompartment(java.lang.String id)
id
- Stringpublic void removeCompartment(int index)
index
- intpublic PluginCompartment getCompartment(int index)
index
- intpublic PluginCompartment getCompartment(java.lang.String id)
id
- Stringpublic void addReaction(PluginReaction reaction)
reaction
- PluginReactionpublic void removeReaction(PluginReaction reaction)
reaction
- PluginReactionpublic void removeReaction(java.lang.String id)
id
- Stringpublic void removeReaction(int index)
index
- intpublic PluginReaction getReaction(int index)
index
- intpublic PluginReaction getReaction(java.lang.String id)
id
- Stringpublic void addEvent(PluginEvent event)
event
- PluginEventpublic void removeEvent(PluginEvent event)
event
- PluginEventpublic void removeEvent(java.lang.String id)
id
- Stringpublic void removeEvent(int index)
index
- intpublic PluginEvent getEvent(int index)
index
- intpublic PluginEvent getEvent(java.lang.String id)
id
- Stringpublic void addParameter(PluginParameter parameter)
parameter
- PluginParameterpublic void removeParameter(PluginParameter parameter)
parameter
- PluginParameterpublic void removeParameter(java.lang.String id)
id
- Stringpublic void removeParameter(int index)
index
- intpublic PluginParameter getParameter(int index)
index
- intpublic PluginParameter getParameter(java.lang.String id)
id
- Stringpublic void addFunctionDefinition(PluginFunctionDefinition function)
function
- PluginFunctionDefinition.public void removeFunctionDefinition(PluginFunctionDefinition function)
function
- PluginFunctionDefinitionpublic void removeFunctionDefinition(java.lang.String id)
id
- Stringpublic void removeFunctionDefinition(int index)
index
- PluginFunctionDefinitionpublic PluginFunctionDefinition getFunctionDefinition(int index)
index
- intpublic PluginFunctionDefinition getFunctionDefinition(java.lang.String id)
id
- Stringpublic void addRule(PluginRule rule)
rule
- PluginRulepublic void removeRule(PluginRule rule)
rule
- PluginRulepublic void removeRule(int index)
index
- intpublic PluginRule getRule(int index)
index
- intpublic void addUnitDefinition(PluginUnitDefinition unit)
unit
- PluginUnitDefinitionpublic void removeUnitDefinition(PluginUnitDefinition unit)
unit
- PluginUnitDefinitionpublic void removeUnitDefinition(java.lang.String id)
id
- Stringpublic void removeUnitDefinition(int index)
index
- intpublic PluginUnitDefinition getUnitDefinition(int index)
index
- intpublic PluginUnitDefinition getUnitDefinition(java.lang.String id)
id
- Stringpublic void addSpeciesType(PluginSpeciesType speciesType)
public void removeSpeciesType(PluginSpeciesType speciesType)
public void removeSpeciesType(java.lang.String id)
public void removeSpeciesType(int index)
public PluginSpeciesType getSpeciesType(int index)
public PluginSpeciesType getSpeciesType(java.lang.String id)
public void addCompartmentType(PluginCompartmentType compartmentType)
public void removeCompartmentType(PluginCompartmentType compartmentType)
public void removeCompartmentType(java.lang.String id)
public void removeCompartmentType(int index)
public PluginCompartmentType getCompartmentType(int index)
public PluginCompartmentType getCompartmentType(java.lang.String id)
public void addInitialAssignment(PluginInitialAssignment initialAssignment)
public void removeInitialAssignment(PluginInitialAssignment initialAssignment)
public void removeInitialAssignment(java.lang.String symbol)
public void removeInitialAssignment(int index)
public PluginInitialAssignment getInitialAssignment(int index)
public PluginInitialAssignment getInitialAssignment(java.lang.String symbol)
public void addConstraint(PluginConstraint constraint)
public void removeConstraint(PluginConstraint constraint)
public void removeConstraint(java.lang.String strMath)
public void removeConstraint(int index)
public PluginConstraint getConstraint(int index)
public PluginConstraint getConstraint(java.lang.String strMath)
public int getNumSpecies()
public int getNumReactions()
public int getNumCompartments()
public int getNumEvents()
public int getNumParameters()
public int getNumFunctionDefinitions()
public int getNumRules()
public int getNumUnitDefinitions()
public int getNumSpeciesTypes()
public int getNumCompartmentTypes()
public int getNumInitialAssignments()
public int getNumConstraints()
public PluginAntiSenseRNA getAntiSenseRNA(java.lang.String id)
id
- Stringpublic PluginListOf getListOfAntiSenseRNAs()
public PluginListOf getListOfSpecies(PluginAntiSenseRNA rna)
rna
- PluginAntiSenseRNApublic void setListOfAntiSenseRNAs(PluginListOf listOfAntiSenseRNAs)
listOfAntiSenseRNAs
- the list of PluginAntiSenseRNApublic void removeAntiSenseRNA(PluginAntiSenseRNA rna)
rna
- PluginAntiSenseRNApublic void removeAntiSenseRNA(int index)
index
- intpublic PluginGene getGene(java.lang.String id)
id
- Stringpublic PluginListOf getListOfGenes()
public PluginListOf getListOfSpecies(PluginGene rna)
rna
- PluginGenepublic void setListOfGenes(PluginListOf listOfGenes)
listOfGenes
- a list of PluginGenepublic void removeGene(PluginGene rna)
rna
- PluginGenepublic void removeGene(int index)
index
- intpublic void appendProtein(PluginProtein protein)
protein
- PluginProteinpublic PluginProtein getProtein(java.lang.String id)
id
- Stringpublic PluginListOf getListOfProteins()
public PluginListOf getListOfSpecies(PluginProtein rna)
rna
- PluginProteinpublic void setListOfProteins(PluginListOf listOfProteins)
listOfProteins
- the list of PluginProteinpublic void removeProtein(PluginProtein rna)
rna
- PluginProteinpublic void removeProtein(int index)
index
- intpublic PluginRNA getRNA(java.lang.String id)
id
- Stringpublic PluginListOf getListOfRNAs()
public PluginListOf getListOfSpecies(PluginRNA rna)
rna
- PluginRNApublic void setListOfRNAs(PluginListOf listOfRNAs)
listOfRNAs
- PluginListOfpublic void removeRNA(PluginRNA rna)
rna
- PluginRNApublic void removeRNA(int index)
index
- intpublic PluginListOf getListOfAllSpeciesAlias()
public PluginSpeciesAlias getPluginSpeciesAlias(java.lang.String aliasID)
aliasID
- Stringpublic PluginListOf getListOfAllSpeciesAlias(java.lang.String speciesid)
public boolean isReferenceSameModel(PluginSBase any)
public boolean isSameModel(org.sbml.libsbml.Model any)