|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectxmlgp.Representation
public class Representation
This class is the data holder for Representation.
It has setters and getters to the attributes of Representation.
It also has the annotations which will be used by jsefa to deserialize representation XML element to representation object and to serialize representation object to representation XML element.
Constructor Summary | |
---|---|
Representation()
|
Method Summary | |
---|---|
int |
getId()
Returns the id of the representation. |
Node |
getNode()
Returns the node which represents the results. |
java.util.List<Statistics> |
getStatistics()
Returns the list of statistical measures of the representation. |
RepresentationType |
getType()
Returns the type of the representation. |
void |
setAttributes(int id,
RepresentationType type,
java.util.List<Statistics> statistics,
Node node)
Sets all the attributes of this class. |
void |
setId(int id)
Sets the id of the representation. |
void |
setNode(Node node)
Sets the node which represents the results. |
void |
setStatistics(java.util.List<Statistics> statistics)
Sets the list of statistical measures of the representation. |
void |
setType(RepresentationType type)
Sets the type of the representation. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Representation()
Method Detail |
---|
public void setAttributes(int id, RepresentationType type, java.util.List<Statistics> statistics, Node node)
id
- the id of representation to settype
- the type of representation to setstatistics
- the list of statistics to setnode
- the node which represents the results to setpublic int getId()
public void setId(int id)
id
- the id of representation to setpublic RepresentationType getType()
public void setType(RepresentationType type)
type
- the type of representation to setpublic java.util.List<Statistics> getStatistics()
public void setStatistics(java.util.List<Statistics> statistics)
statistics
- list of statistical measures to setpublic Node getNode()
public void setNode(Node node)
node
- the node which represents the results to set
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |