public class BiomoleculeList
extends java.lang.Object
Constructor and Description |
---|
BiomoleculeList()
Empty constructor
|
BiomoleculeList(java.util.ArrayList<Biomolecule> biomolecules_)
Generating a BiomoleculeList instance along with a collection of the related biomolecules.
|
BiomoleculeList(java.util.ArrayList<Biomolecule> biomolecules_,
java.lang.String listName_)
Generating a BiomoleculeList instance along with a collection of the related biomolecules and the list identifier.
|
Modifier and Type | Method and Description |
---|---|
void |
addBiomolecules(Biomolecule aBiomolecule)
Adds a Biomolecule to the existing ArrayList biomolecules.
|
java.util.ArrayList<Biomolecule> |
getBiomolecules() |
java.lang.String |
getListName()
Setter and Getter
|
void |
setBiomolecules(java.util.ArrayList<Biomolecule> biomolecules_) |
void |
setListName(java.lang.String listName_) |
public BiomoleculeList()
public BiomoleculeList(java.util.ArrayList<Biomolecule> biomolecules_)
biomolecules_
- public BiomoleculeList(java.util.ArrayList<Biomolecule> biomolecules_, java.lang.String listName_)
biomolecules_
- public void addBiomolecules(Biomolecule aBiomolecule)
public java.lang.String getListName()
public void setListName(java.lang.String listName_)
public java.util.ArrayList<Biomolecule> getBiomolecules()
public void setBiomolecules(java.util.ArrayList<Biomolecule> biomolecules_)