public abstract class Reactant extends Object
Reactant encapsulates a ChemicalEntity for the use in Reactions. This abstract class has
currently two implementations StoichiometricReactants are Reactants that are consumed or produced during the
reaction. CatalyticReactants are influencing the velocity (reaction rate), but are not consumed or produced.| Constructor and Description |
|---|
Reactant(ChemicalEntity<?> entity,
ReactantRole role) |
| Modifier and Type | Method and Description |
|---|---|
ChemicalEntity<?> |
getEntity()
Gets the entity representing this reactant.
|
ReactantRole |
getRole()
Gets the role of this reactant.
|
void |
setEntity(ChemicalEntity<?> entity)
Sets the entity representing this reactant.
|
void |
setRole(ReactantRole role)
Gets the role of this reactant.
|
public Reactant(ChemicalEntity<?> entity, ReactantRole role)
public ChemicalEntity<?> getEntity()
public void setEntity(ChemicalEntity<?> entity)
entity - The entity representing this reactant.public ReactantRole getRole()
public void setRole(ReactantRole role)
role - The role of this reactant.Copyright © 2017. All rights reserved.