|
Version: 1.1.1 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.biomoby.service.dashboard.data.DataContainer
public class DataContainer
A container for input and output service data. It is mainly used to carry data between the SimpleClientPanel and its executor ServiceCallerModel, and also to carry data to the individual result renderers (class ResultsPanel).
The primary data are set either in constructor, or by setData(java.lang.Object)
or by setDataFromFile(java.io.File)
(and get back by getData()
).
Constructor Summary | |
---|---|
DataContainer()
An empty constructor. |
|
DataContainer(Object data)
A usual constructor, filling his container with the given data. |
|
DataContainer(Object data,
Object metadata)
A usual constructor, filling his container with the given data. |
Method Summary | |
---|---|
Object |
getData()
Get data from this container. |
Object |
getMetadata()
Get metadata from this container. |
void |
setData(Object data)
Fill this container with data. |
void |
setDataFromFile(File file)
Fill this container by data from the given file. |
void |
setMetadata(Object metadata)
Fill this container with metadata. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DataContainer()
public DataContainer(Object data)
public DataContainer(Object data, Object metadata)
Method Detail |
---|
public void setData(Object data)
public void setMetadata(Object metadata)
public Object getData()
public Object getMetadata()
public void setDataFromFile(File file) throws MobyException
MobyException
|
Version: 1.1.1 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |