com.partnersoft.maps.rover
Class AbstractRoverLayer

java.lang.Object
  extended by com.partnersoft.maps.rover.AbstractRoverLayer
All Implemented Interfaces:
Identifiable, RoverLayer

public abstract class AbstractRoverLayer
extends java.lang.Object
implements RoverLayer

Convenience starter implementation for RoverLayer.

Copyright 2008 Partner Software, Inc.

Version:
$Id$
Author:
Paul Reavis

Constructor Summary
protected AbstractRoverLayer()
           
 
Method Summary
 RoverType dataTypeFor(int dataTypeId)
           
 RoverType dataTypeNamed(java.lang.String dataTypeName)
           
 RoverCoordinateSystem getCoordinateSystem()
          Coordinate system of map shape points.
 RoverDrawable graphicTypeFor(int graphicTypeId)
           
 RoverDrawable graphicTypeNamed(java.lang.String graphicTypeName)
           
 RoverLevelOfDetail levelOfDetailFor(int lodId)
          Returns the level of detail for the given ID.
 java.util.List<RoverType> listDataTypes()
           
 java.util.List<RoverStringIndex> listFindIndices()
          Returns the available find indices for this map.
 java.util.List<RoverType> listGraphicTypes()
           
 java.util.List<RoverLevelOfDetail> listLevelsOfDetail()
          Lists all levels of detail in the map.
 Naming<RoverType> nameDataTypes()
           
 Naming<RoverStringIndex> nameFindIndices()
          Returns the available find indices for this map as a naming.
 Naming<RoverDrawable> nameGraphicTypes()
           
protected  void setCoordinateSystem(RoverCoordinateSystem coordinateSystem)
           
protected  void setDataTypes(RoverType[] dataTypes)
           
protected  void setFindIndices(RoverStringIndex[] findIndices)
           
protected  void setGraphicTypes(RoverDrawable[] graphicTypes)
           
protected  void setLevelsOfDetail(RoverLevelOfDetail[] levelsOfDetail)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.partnersoft.maps.rover.RoverLayer
drawableFor, drawableNamed, entityFor, listDrawables, listEntities, listStreamsFor, listTypes, nameDrawables, nameTypes, typeFor, typeNamed
 
Methods inherited from interface com.partnersoft.core.Identifiable
getGuid, getId, getName
 

Constructor Detail

AbstractRoverLayer

protected AbstractRoverLayer()
Method Detail

getCoordinateSystem

public RoverCoordinateSystem getCoordinateSystem()
Description copied from interface: RoverLayer
Coordinate system of map shape points.

Specified by:
getCoordinateSystem in interface RoverLayer

dataTypeFor

public RoverType dataTypeFor(int dataTypeId)

dataTypeNamed

public RoverType dataTypeNamed(java.lang.String dataTypeName)

graphicTypeFor

public RoverDrawable graphicTypeFor(int graphicTypeId)

graphicTypeNamed

public RoverDrawable graphicTypeNamed(java.lang.String graphicTypeName)

levelOfDetailFor

public RoverLevelOfDetail levelOfDetailFor(int lodId)
Description copied from interface: RoverLayer
Returns the level of detail for the given ID.

Specified by:
levelOfDetailFor in interface RoverLayer
Parameters:
lodId - ID for level of detail desired
Returns:
LOD requested, or null if none corresponds to ID

listDataTypes

public java.util.List<RoverType> listDataTypes()

listFindIndices

public java.util.List<RoverStringIndex> listFindIndices()
Description copied from interface: RoverLayer
Returns the available find indices for this map.

Specified by:
listFindIndices in interface RoverLayer
Returns:
immutable list of RoverFindIndexen.

listGraphicTypes

public java.util.List<RoverType> listGraphicTypes()

listLevelsOfDetail

public java.util.List<RoverLevelOfDetail> listLevelsOfDetail()
Description copied from interface: RoverLayer
Lists all levels of detail in the map.

Specified by:
listLevelsOfDetail in interface RoverLayer
Returns:
immutable list of all levels of detail in the map.

nameDataTypes

public Naming<RoverType> nameDataTypes()

nameGraphicTypes

public Naming<RoverDrawable> nameGraphicTypes()

nameFindIndices

public Naming<RoverStringIndex> nameFindIndices()
Description copied from interface: RoverLayer
Returns the available find indices for this map as a naming.

Specified by:
nameFindIndices in interface RoverLayer
Returns:
Naming of RoverFindIndexen.

setCoordinateSystem

protected void setCoordinateSystem(RoverCoordinateSystem coordinateSystem)

setDataTypes

protected void setDataTypes(RoverType[] dataTypes)

setGraphicTypes

protected void setGraphicTypes(RoverDrawable[] graphicTypes)

setLevelsOfDetail

protected void setLevelsOfDetail(RoverLevelOfDetail[] levelsOfDetail)

setFindIndices

protected void setFindIndices(RoverStringIndex[] findIndices)