public class PluginReaction extends PluginSBase
sbase
Modifier | Constructor and Description |
---|---|
|
PluginReaction()
Constructor
|
protected |
PluginReaction(java.lang.String id)
Constructor
|
Modifier and Type | Method and Description |
---|---|
void |
addGLogicGate(PluginGLogicGate pgg) |
void |
addModifier(PluginModifierSpeciesReference ref)
Adds a PluginModifierSpeciesReference to this PluginReaction.
|
void |
addProduct(PluginSpeciesReference ref)
Adds Product (PluginSpeciesReference) to this PluginReaction.
|
void |
addReactant(PluginSpeciesReference ref)
Adds the given Reactant (PluginSpeciesReference) to this PluginReaction.
|
PluginRealLineInformationDataObjOfReactionLink |
getAllMyPostionInfomations() |
PluginRealLineInformationDataObjOfReactionLink |
getAllMyPostionInfomations(boolean bPrintDebugInfo) |
boolean |
getFast() |
java.lang.String |
getGateType() |
java.lang.String |
getId() |
PluginKineticLaw |
getKineticLaw() |
java.awt.Color |
getLineColor() |
double |
getLineWidth() |
PluginListOf |
getListOfGLogicGates() |
PluginListOf |
getListOfModifiers() |
PluginListOf |
getListOfProducts() |
PluginListOf |
getListOfReactants() |
PluginModifierSpeciesReference |
getModifier(int index)
Gets the PluginModifierSpeciesReference with the given index of this PluginReaction.
|
java.lang.String |
getName() |
int |
getNumGLogicGates() |
int |
getNumModifiers() |
int |
getNumProducts() |
int |
getNumReactants() |
PluginSpeciesReference |
getProduct(int index)
Gets the Product (PluginSpeciesReference) of this PluginReaction with the given index.
|
PluginSpeciesReference |
getReactant(int index)
Gets the Reactant (PluginSpeciesReference) with the given index from this PluginReaction.
|
java.lang.String |
getReactionType() |
boolean |
getReversible() |
static boolean |
havePhenotypeInSource(PluginSBase pSbase) |
void |
removeGLogicGate(int index) |
void |
removeGLogicGate(PluginGLogicGate pgg) |
void |
removeModifier(int index)
Removes the PluginModifierSpeciesReference from this PluginReaction.
|
void |
removeModifier(PluginModifierSpeciesReference ref)
Removes a PluginModifierSpeciesReference from this PluginReaction.
|
void |
removeProduct(int index)
Removes the Product (PluginSpeciesReference) with the given index from this PluginReaction.
|
void |
removeProduct(PluginSpeciesReference ref)
Removes the given Product (PluginSpeciesReference) from this PluginReaction.
|
void |
removeReactant(int index)
Removes the Reactant with the given index from this PluginReaction.
|
void |
removeReactant(PluginSpeciesReference ref)
Removes the given Reactant (PluginSpeciesReference) from this PluginReaction.
|
void |
setFast(boolean fast)
Sets the fast status of this PluginReaction to the given value (boolean)
|
void |
setGateType(java.lang.String type) |
void |
setKineticLaw(PluginKineticLaw ki)
Sets the PluginKineticLaw of this PluginReaction.
|
void |
setLineColor(java.awt.Color lineColor)
Sets the lineColor of this PluginReaction.
|
void |
setLineWidth(double lineWidth)
Sets the line width of this PluginReaction.
|
void |
setListOfGLogicGates(PluginListOf listOfGLogicGates) |
void |
setListOfModifiers(PluginListOf listOfModifiers)
Sets the list of PluginModifierSpeciesReference of this PluginReaction.
|
void |
setListOfProducts(PluginListOf listOfProducts)
Sets the list of Products (PluginSpeciesReference) of this PluginReaction.
|
void |
setListOfReactants(PluginListOf listOfReactants)
Sets the list of Reactants (PluginSpeciesReference) of this PluginReaction.
|
void |
setName(java.lang.String name)
Sets the name of this PluginReaction.
|
void |
setReactionType(java.lang.String type)
Sets the type of this PluginReaction.
|
void |
setReversible(boolean reversible)
Sets the reversible status of this PluginReaction to the given value (boolean).
|
void |
update(PluginReaction reaction)
Update all properties of this PluginReaction to the same as the given PluginReaction.
|
addCVTerm, ChangeCVTermToMiriamDefinition, getAnnotation, getAnnotationString, getCVTerm, getNotes, getNotesString, getNumCVTerms, getParentSBase, getRelationFromCVTerm, setAnnotation, setAnnotationString, setCVTerm, setNotes, setNotes, setParentSBase, toSBML
public PluginReaction()
protected PluginReaction(java.lang.String id)
id
- Stringpublic void update(PluginReaction reaction)
reaction
- PluginReactionpublic java.lang.String getId()
public boolean getFast()
public void setFast(boolean fast)
fast
- booleanpublic boolean getReversible()
public void setReversible(boolean reversible)
reversible
- booleanpublic java.lang.String getName()
public void setName(java.lang.String name)
name
- Stringpublic void addReactant(PluginSpeciesReference ref)
ref
- PluginSpeciesReferencepublic void removeReactant(PluginSpeciesReference ref)
ref
- PluginSpeciesReferencepublic void removeReactant(int index)
index
- intpublic PluginSpeciesReference getReactant(int index)
index
- intpublic void addProduct(PluginSpeciesReference ref)
ref
- Productpublic void removeProduct(PluginSpeciesReference ref)
ref
- PluginSpeciesReferencepublic void removeProduct(int index)
index
- intpublic PluginSpeciesReference getProduct(int index)
index
- intpublic void addModifier(PluginModifierSpeciesReference ref)
ref
- PluginModifierSpeciesReferencepublic void removeModifier(PluginModifierSpeciesReference ref)
ref
- PluginModifierSpeciesReferencepublic void removeModifier(int index)
index
- intpublic PluginModifierSpeciesReference getModifier(int index)
index
- intpublic PluginKineticLaw getKineticLaw()
public void setKineticLaw(PluginKineticLaw ki)
ki
- PluginKineticLawpublic java.awt.Color getLineColor()
public void setLineColor(java.awt.Color lineColor)
lineColor
- the color of reactionpublic double getLineWidth()
public void setLineWidth(double lineWidth)
lineWidth
- doublepublic PluginListOf getListOfModifiers()
public void setListOfModifiers(PluginListOf listOfModifiers)
listOfModifiers
- PluginListOfpublic PluginListOf getListOfProducts()
public void setListOfProducts(PluginListOf listOfProducts)
listOfProducts
- PluginListOfpublic PluginListOf getListOfReactants()
public void setListOfReactants(PluginListOf listOfReactants)
listOfReactants
- PluginListOfpublic java.lang.String getReactionType()
public void setReactionType(java.lang.String type)
type
- Stringpublic int getNumReactants()
public int getNumProducts()
public int getNumModifiers()
public int getNumGLogicGates()
public void addGLogicGate(PluginGLogicGate pgg)
pgg
- PluginGLogicGatepublic void removeGLogicGate(int index)
index
- intpublic void removeGLogicGate(PluginGLogicGate pgg)
public PluginListOf getListOfGLogicGates()
public void setListOfGLogicGates(PluginListOf listOfGLogicGates)
listOfGLogicGates
- PluginListOfpublic PluginRealLineInformationDataObjOfReactionLink getAllMyPostionInfomations()
public PluginRealLineInformationDataObjOfReactionLink getAllMyPostionInfomations(boolean bPrintDebugInfo)
public java.lang.String getGateType()
public void setGateType(java.lang.String type)
type
- Stringpublic static final boolean havePhenotypeInSource(PluginSBase pSbase)
pSbase
- PluginSBase