gov.usda.gdpc.database
Class DefaultDatabaseMappingIndex

java.lang.Object
  extended bygov.usda.gdpc.database.AbstractDatabaseMappingIndex
      extended bygov.usda.gdpc.database.DefaultDatabaseMappingIndex
All Implemented Interfaces:
DatabaseMappingIndex

public class DefaultDatabaseMappingIndex
extends AbstractDatabaseMappingIndex

This is the default implementation of the IndexDatabaseMapping interface.

Author:
terryc

Constructor Summary
DefaultDatabaseMappingIndex()
          DefaultDatabaseMappingIndex Constructor.
DefaultDatabaseMappingIndex(int index)
          DefaultDatabaseMappingIndex Constructor.
 
Methods inherited from class gov.usda.gdpc.database.AbstractDatabaseMappingIndex
getIndex, setIndex
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultDatabaseMappingIndex

public DefaultDatabaseMappingIndex()
DefaultDatabaseMappingIndex Constructor. Index value defaults to zero.


DefaultDatabaseMappingIndex

public DefaultDatabaseMappingIndex(int index)
DefaultDatabaseMappingIndex Constructor. This sets the index to the given value.

Parameters:
index - index