EVolve.data
Interface DataSource

All Known Implementing Classes:
DemoSource

public interface DataSource

EVolve data source.


Method Summary
 ElementDefinition getNextDefinition()
          Gets the next element definition.
 Entity getNextEntity()
          Gets the next entity.
 Event getNextEvent()
          Gets the next event.
 void init()
          Initializes the data source.
 void startBuildDefinition()
          Starts building the element definitions.
 void startBuildEntity()
          Starts building the entities.
 void startBuildEvent()
          Starts building the events.
 

Method Detail

init

public void init()
          throws DataProcessingException
Initializes the data source.

DataProcessingException

startBuildDefinition

public void startBuildDefinition()
                          throws DataProcessingException
Starts building the element definitions.

DataProcessingException

getNextDefinition

public ElementDefinition getNextDefinition()
                                    throws DataProcessingException
Gets the next element definition.

Returns:
next element definition, null if all the definitions are sent.
DataProcessingException

startBuildEntity

public void startBuildEntity()
                      throws DataProcessingException
Starts building the entities.

DataProcessingException

getNextEntity

public Entity getNextEntity()
                     throws DataProcessingException
Gets the next entity.

Returns:
next entity, null if all the entities are sent.
DataProcessingException

startBuildEvent

public void startBuildEvent()
                     throws DataProcessingException
Starts building the events.

DataProcessingException

getNextEvent

public Event getNextEvent()
                   throws DataProcessingException
Gets the next event.

Returns:
next event, null if all the events are sent.
DataProcessingException