gistoolkit.datasources.shapefile
Class ShapeFileRecord

java.lang.Object
  extended bygistoolkit.features.Record
      extended bygistoolkit.datasources.shapefile.ShapeFileRecord

public class ShapeFileRecord
extends Record

A record type to keep track of the index in the shape file for updates.


Constructor Summary
ShapeFileRecord()
          ShapeFileRecord constructor comment.
ShapeFileRecord(int inIndex, Record inRecord)
          Create a Shape File Record from an existing Record.
ShapeFileRecord(int inindex, Shape inShape, java.lang.Object[] inAttributes, java.lang.String[] inAttributeNames, AttributeType[] inAttributeTypes)
          Create a new Shape file record with the given index, shape attributes attributenames, and attributeTypes.
 
Method Summary
 java.lang.Object clone()
          Creats a copy of this record;
 int getIndex()
          Returns the index into the shape file.
 void setIndex(int newIndex)
          Sets the index into the shape file.
 
Methods inherited from class gistoolkit.features.Record
getAttributeNames, getAttributes, getAttributeTypes, getShape, setAttributeNames, setAttributes, setAttributeTypes, setShape
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ShapeFileRecord

public ShapeFileRecord()
ShapeFileRecord constructor comment.


ShapeFileRecord

public ShapeFileRecord(int inIndex,
                       Record inRecord)
Create a Shape File Record from an existing Record. The index is the index of the record within the shape file.


ShapeFileRecord

public ShapeFileRecord(int inindex,
                       Shape inShape,
                       java.lang.Object[] inAttributes,
                       java.lang.String[] inAttributeNames,
                       AttributeType[] inAttributeTypes)
Create a new Shape file record with the given index, shape attributes attributenames, and attributeTypes.

Method Detail

clone

public java.lang.Object clone()
Creats a copy of this record;

Overrides:
clone in class Record

getIndex

public int getIndex()
Returns the index into the shape file. Creation date: (4/25/2001 4:35:01 PM)

Returns:
int

setIndex

public void setIndex(int newIndex)
Sets the index into the shape file. Creation date: (4/25/2001 4:35:01 PM)

Parameters:
newIndex - int