|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectsbrt.kernel.fba.AbstractExchangeRxn
sbrt.kernel.fba.SourceRxn
public final class SourceRxn
This class is used to represent exchange reactions that transport chemicals to a chemical system from its surroundings. Source reactions are unidirectional - they supply chemical species, but do not consume them.
Instances of this class are immutable.
Constructor Summary | |
---|---|
SourceRxn(java.lang.String chemSpecies)
Constructs a new source for the provided chemical species. |
Method Summary | |
---|---|
LinearComb<java.lang.String> |
getProducts()
Returns a single-term linear combination. |
boolean |
isReversible()
Returns false . |
java.lang.String |
toString()
Returns a string representation of this source reaction. |
Methods inherited from class sbrt.kernel.fba.AbstractExchangeRxn |
---|
equals, getReactants, getSpecies, hashCode |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public SourceRxn(java.lang.String chemSpecies)
chemSpecies
- the chemical species this source supplies.Method Detail |
---|
public LinearComb<java.lang.String> getProducts()
getProducts
in interface ChemRxn
getProducts
in class AbstractExchangeRxn
public boolean isReversible()
false
.
false
.public java.lang.String toString()
toString
in interface ChemRxn
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |