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