Package ummisco.gama.chemmisol
Class ChemicalEntity
java.lang.Object
ummisco.gama.chemmisol.ChemicalEntity
- Direct Known Subclasses:
ChemicalSpecies
,Reagent
Represents a chemical entity with a name and a phase.
-
Constructor Summary
ModifierConstructorDescriptionprotected
ChemicalEntity
(String name, Phase phase) Initializes a Chemical entity. -
Method Summary
-
Constructor Details
-
ChemicalEntity
Initializes a Chemical entity.- Parameters:
name
- Name of the chemical entity.phase
- Phase of the chemical entity.
-
-
Method Details
-
getName
Gets the name of the chemical entity.- Returns:
- name of the chemical entity
-
setName
Sets the name of the chemical entity.- Parameters:
name
- name of the chemical entity
-
getPhase
Gets the phase of the chemical entity.- Returns:
- phase of this chemical entity
-