sonification.dataimport.visbards_resourcetoolkit.repository.resource
Interface ReadConfiguration

All Known Implementing Classes:
DefaultReadConfiguration

public interface ReadConfiguration

This class contains information about how to populate a particular repository.


Method Summary
 void addListener(ReadConfigurationListener listener)
          Registers a listener.
 java.lang.Object clone()
          A new copy of this resource configuration
 java.util.ArrayList getColumns()
          Returns columsn to be loaded
 int getDecimation()
          Reader every n'th point
 Range getTimeRange()
          Returns the time rage to read from this resource
 boolean hasColumn(Column col)
          Returns true if this column is present in the config
 void removeListener(ReadConfigurationListener listener)
          Unregisters a listener.
 void setColumn(Column col, boolean load)
          Changes the wheather or not a particular column is present in the config
 void setDecimation(int d)
          Sets the modality of points to read
 void setTimeRange(Range rng)
          Change the time range to read from this resource
 

Method Detail

getTimeRange

Range getTimeRange()
Returns the time rage to read from this resource


setTimeRange

void setTimeRange(Range rng)
Change the time range to read from this resource


getDecimation

int getDecimation()
Reader every n'th point


setDecimation

void setDecimation(int d)
Sets the modality of points to read


hasColumn

boolean hasColumn(Column col)
Returns true if this column is present in the config


setColumn

void setColumn(Column col,
               boolean load)
Changes the wheather or not a particular column is present in the config


getColumns

java.util.ArrayList getColumns()
Returns columsn to be loaded


clone

java.lang.Object clone()
A new copy of this resource configuration


addListener

void addListener(ReadConfigurationListener listener)
Registers a listener.


removeListener

void removeListener(ReadConfigurationListener listener)
Unregisters a listener.