EVolve.data
Class DataManager
java.lang.Object
|
+--EVolve.data.DataManager
- All Implemented Interfaces:
- Worker
- public class DataManager
- extends java.lang.Object
- implements Worker
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DataManager
public DataManager(DataSource dataSource)
init
public void init()
throws EVolveException
EVolveException
sendEvents
public void sendEvents()
throws DataProcessingException
DataProcessingException
getEntity
public java.util.HashMap[] getEntity()
getElementDefinition
public ElementDefinition[] getElementDefinition()
getElementDefinition
public ElementDefinition[] getElementDefinition(VisualizationDefinition visualizationDefinition)
getDataFilter
public DataFilter[] getDataFilter(ElementDefinition subjectDefinition,
java.lang.String property)
getColor
public java.awt.Color getColor()
getColorRGB
public int getColorRGB()
getEventCounter
public long getEventCounter()
getReferenceLink
public ReferenceLink[] getReferenceLink()
isCompleted
public boolean isCompleted()
getDatasourceName
public java.lang.String getDatasourceName()
isDataLoaded
public boolean isDataLoaded()
setDataLoaded
public void setDataLoaded(boolean loaded)
getDataSource
public DataSource getDataSource()
resume
public void resume()
- Specified by:
resume
in interface Worker
pause
public void pause()
- Specified by:
pause
in interface Worker
stop
public void stop()
- Specified by:
stop
in interface Worker
getCurrentProgress
public long getCurrentProgress()
- Specified by:
getCurrentProgress
in interface Worker
getMaxProgress
public long getMaxProgress()
- Specified by:
getMaxProgress
in interface Worker
getCurrentState
public int getCurrentState()
- Specified by:
getCurrentState
in interface Worker
start
public void start()
- Specified by:
start
in interface Worker
join
public void join()
throws java.lang.InterruptedException
- Specified by:
join
in interface Worker
java.lang.InterruptedException
resetState
public void resetState()
- Specified by:
resetState
in interface Worker