edu.unh.sdb.datasource
Class BlockedDataSourceBuilder

java.lang.Object
  extended by edu.unh.sdb.datasource.DataSourceBuilder
      extended by edu.unh.sdb.datasource.BlockedDataSourceBuilder

public class BlockedDataSourceBuilder
extends DataSourceBuilder

Manufactures Logical Blocked DataSource objects. Holds relevant data and validates before instantiating the appropriate DataSource objects


Field Summary
 
Fields inherited from class edu.unh.sdb.datasource.DataSourceBuilder
componentBounds, componentFieldPositions, componentIndices, componentMaps, compositeBounds, compositeFieldNames, compositeFieldPositions, discardFlag, dsList, nameMapping
 
Constructor Summary
BlockedDataSourceBuilder(DataSourceCollection d, java.lang.String n)
          Default Constructor sets the bounds and recordDesc members to default values.
 
Method Summary
protected  FieldIDMapper makeComponentFieldIDMapper()
          returns a FieldIDMapper for the current component
 DataSource makeDataSource()
          instantiates an actual datasource
 void processFinalComponentMap()
          completes a new FieldIDMapper for current component.
 
Methods inherited from class edu.unh.sdb.datasource.DataSourceBuilder
addComponent, addComponent, getAllComponentBounds, getComponentDataSources, getComponentFieldPosition, getCompositeBounds, getCurrentDataSource, getCurrentFDLDescriptor, getDSName, getFirstComponentDataSource, main, makeComponentBounds, makeComponentInfos, makeISIDMapper, setComponentAxes, setComponentFieldPair, setComponentFieldPair, setCompositeBounds, setCurrentFDLDescriptor, setDSName, toString, vectorToIntArray
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

BlockedDataSourceBuilder

public BlockedDataSourceBuilder(DataSourceCollection d,
                                java.lang.String n)
Default Constructor sets the bounds and recordDesc members to default values.

Method Detail

makeComponentFieldIDMapper

protected FieldIDMapper makeComponentFieldIDMapper()
returns a FieldIDMapper for the current component

Overrides:
makeComponentFieldIDMapper in class DataSourceBuilder

processFinalComponentMap

public void processFinalComponentMap()
completes a new FieldIDMapper for current component. This method currently does nothing since Blocked Data Sources does not allow field mapping

Overrides:
processFinalComponentMap in class DataSourceBuilder

makeDataSource

public DataSource makeDataSource()
instantiates an actual datasource

Overrides:
makeDataSource in class DataSourceBuilder