com.bbn.openmap.layer.vpf
Interface TilingAdapter

All Known Implementing Classes:
TilingAdapter.CrossTileAdapter, TilingAdapter.TiledAdapter, TilingAdapter.UntiledAdapter

public interface TilingAdapter

An interface class for a set of adapter classes that hide the tiling format of a VPF table. None of the methods taking a List parameter may modify the passed in list.

See Also:
DcwRecordFile.getTilingAdapter(String,String)

Nested Class Summary
static class TilingAdapter.CrossTileAdapter
          A TilingAdapter for tiled data where the primitive column is a cross-tile identifier.
static class TilingAdapter.TiledAdapter
          A TilingAdapter where the tile identifier is retrieved from the tile_id column, and the primitive identifier comes from a numeric column.
static class TilingAdapter.UntiledAdapter
          A TilingAdapter for untiled data.
 
Method Summary
 DcwCrossTileID getPrim(java.util.List l)
          Get the full set of primitive information
 int getPrimId(java.util.List l)
          Get the primitive identifier in the current tile
 int getTileId(java.util.List l)
          Get the tile identifier for the alternate tile
 int getTilePrimId(java.util.List l)
          Get the primitive identifier in the alternate tile
 

Method Detail

getTileId

public int getTileId(java.util.List l)
Get the tile identifier for the alternate tile

Parameters:
l - a row of the table this adapter was created for
Returns:
the tile id of the alternate tile

getPrimId

public int getPrimId(java.util.List l)
Get the primitive identifier in the current tile

Parameters:
l - a row of the table this adapter was created for
Returns:
the primitive id in the current tile

getTilePrimId

public int getTilePrimId(java.util.List l)
Get the primitive identifier in the alternate tile

Parameters:
l - a row of the table this adapter was created for
Returns:
the primitve id in the alternate tile

getPrim

public DcwCrossTileID getPrim(java.util.List l)
Get the full set of primitive information

Parameters:
l - a row of the table this adapter was created for
Returns:
the full cross tile identifier information


Copyright (C) BBNT Solutions LLC; See http://openmap.bbn.com/ for details