|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectxmlgp.Treatment
public class Treatment
This class is the data holder for Treatment.
It has setters and getters to the attributes of Treatment.
It also has the annotations which will be used by jsefa to deserialize treatment XML element to treatment object and to serialize treatment object to treatment XML element.
Constructor Summary | |
---|---|
Treatment()
|
Method Summary | |
---|---|
java.lang.String |
getDescription()
Returns the description of the treatment. |
int |
getId()
Returns the id of the treatment. |
java.util.List<Statistics> |
getStatistics()
Returns the list of statistical measures of treatment. |
java.util.List<Trial> |
getTrials()
Returns the list of trials of the treatment. |
void |
setAttributes(int id,
java.lang.String description,
java.util.List<Statistics> statistics,
java.util.List<Trial> trials)
Sets all the attributes of this class. |
void |
setDescription(java.lang.String description)
Sets the description of the treatment. |
void |
setId(int id)
Sets the id of the treatment. |
void |
setStatistics(java.util.List<Statistics> statistics)
Sets the list of statistical measures of treatment. |
void |
setTrials(java.util.List<Trial> trials)
Sets the list of trials of the treatment. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Treatment()
Method Detail |
---|
public void setAttributes(int id, java.lang.String description, java.util.List<Statistics> statistics, java.util.List<Trial> trials)
id
- the id to setdescription
- the description of the treatment to setstatistics
- the list of statistics to settrials
- the list of trials to setpublic int getId()
public void setId(int id)
id
- the id to setpublic java.lang.String getDescription()
public void setDescription(java.lang.String description)
description
- the description of the treatment 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<Trial> getTrials()
public void setTrials(java.util.List<Trial> trials)
trials
- the list of trials to set
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |