|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectxmlgp.Experiment
public class Experiment
This class is the data holder for Experiment.
It has setters and getters to all the attributes of Experiment.
It also has the annotations which will be used by jsefa to deserialize experiment XML element to experiment object and to serialize experiment object to experiment XML element.
Constructor Summary | |
---|---|
Experiment()
|
Method Summary | |
---|---|
java.lang.String |
getDate()
Retrieves the date on which the experiment is done. |
java.lang.String |
getDescription()
Retrieves the description of the experiment. |
int |
getId()
Retrieves the id of the experiment. |
java.util.List<Statistics> |
getStatistics()
Retrieves the list of statistical measures of the experiment. |
java.util.List<Treatment> |
getTreatments()
Retrieves the list of treatments contained in the experiment. |
void |
setAttributes(int id,
java.lang.String date,
java.lang.String description,
java.util.List<Statistics> statistics,
java.util.List<Treatment> treatments)
Sets all the attributes of this class. |
void |
setDate(java.lang.String date)
Sets the date on which the experiment is done. |
void |
setDescription(java.lang.String description)
Sets the description of the experiment. |
void |
setId(int id)
Sets the id of the experiment. |
void |
setStatistics(java.util.List<Statistics> statistics)
Sets the list of statistical measures of the experiment. |
void |
setTreatments(java.util.List<Treatment> treatments)
Sets the list of treatments contained in the experiment. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Experiment()
Method Detail |
---|
public void setAttributes(int id, java.lang.String date, java.lang.String description, java.util.List<Statistics> statistics, java.util.List<Treatment> treatments)
id
- the id of the experimentdate
- the date to setdescription
- the description of the experiment to setstatistics
- the list of statistics to settreatments
- the list of treatments to setpublic int getId()
public void setId(int id)
id
- the id of the experimentpublic java.lang.String getDate()
public void setDate(java.lang.String date)
date
- the date to setpublic java.lang.String getDescription()
public void setDescription(java.lang.String description)
description
- the description of the experiment to setpublic java.util.List<Statistics> getStatistics()
public void setStatistics(java.util.List<Statistics> statistics)
statistics
- the list of statistical measures to setpublic java.util.List<Treatment> getTreatments()
public void setTreatments(java.util.List<Treatment> treatments)
treatments
- the list of treatments to set
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |