EVolve.data
Class DataManager

java.lang.Object
  |
  +--EVolve.data.DataManager
All Implemented Interfaces:
Worker

public class DataManager
extends java.lang.Object
implements Worker


Field Summary
 
Fields inherited from interface EVolve.data.Worker
STATE_FINISHED, STATE_NOT_STARTED, STATE_PAUSED, STATE_PAUSING, STATE_RUNNING, STATE_STOPPED, STATE_STOPPING
 
Constructor Summary
DataManager(DataSource dataSource)
           
 
Method Summary
 java.awt.Color getColor()
           
 int getColorRGB()
           
 long getCurrentProgress()
           
 int getCurrentState()
           
 DataFilter[] getDataFilter(ElementDefinition subjectDefinition, java.lang.String property)
           
 DataSource getDataSource()
           
 java.lang.String getDatasourceName()
           
 ElementDefinition[] getElementDefinition()
           
 ElementDefinition[] getElementDefinition(VisualizationDefinition visualizationDefinition)
           
 java.util.HashMap[] getEntity()
           
 long getEventCounter()
           
 long getMaxProgress()
           
 ReferenceLink[] getReferenceLink()
           
 void init()
           
 boolean isCompleted()
           
 boolean isDataLoaded()
           
 void join()
           
 void pause()
           
 void resetState()
           
 void resume()
           
 void sendEvents()
           
 void setDataLoaded(boolean loaded)
           
 void start()
           
 void stop()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DataManager

public DataManager(DataSource dataSource)
Method Detail

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