com.partnersoft.v3x.apps.MapBrowser.rover
Class TiledDataStore

java.lang.Object
  extended by com.partnersoft.v3x.apps.MapBrowser.rover.RoverDataStore
      extended by com.partnersoft.v3x.apps.MapBrowser.rover.TiledDataStore

public class TiledDataStore
extends RoverDataStore

Storage for Rover Data, indexed by datatype and dataID, stored as a dump files stored within the tiled directory system.


Constructor Summary
TiledDataStore(TiledRoverStore store, long tile)
           
 
Method Summary
 RoverData getDataFor(int dataType, int dataID)
          Grab the RoverData object for the given dataType and ID.
 java.util.ArrayList getLabelsFor(int dataType)
          Grab the field names for the given dataType.
 java.lang.String getPath()
          Directory path to RoverDataStore files.
 java.lang.String getThemeNameFor(int dataType)
          Grab the theme name for the given dataType.
 void setPath(java.lang.String newPath)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TiledDataStore

public TiledDataStore(TiledRoverStore store,
                      long tile)
Method Detail

getLabelsFor

public java.util.ArrayList getLabelsFor(int dataType)
Grab the field names for the given dataType.


getThemeNameFor

public java.lang.String getThemeNameFor(int dataType)
Grab the theme name for the given dataType.

Specified by:
getThemeNameFor in class RoverDataStore

getDataFor

public RoverData getDataFor(int dataType,
                            int dataID)
Grab the RoverData object for the given dataType and ID.

Specified by:
getDataFor in class RoverDataStore

getPath

public java.lang.String getPath()
Directory path to RoverDataStore files.

Overrides:
getPath in class RoverDataStore

setPath

public void setPath(java.lang.String newPath)
Overrides:
setPath in class RoverDataStore