gistoolkit.features
Class Record

java.lang.Object
  extended bygistoolkit.features.Record
Direct Known Subclasses:
MemoryRecord, MySQLRecord, OracleRecord, PostGISRecord, ShapeFileRecord, SpatialExtenderRecord

public class Record
extends java.lang.Object

Represents a single record from the dataset. Records can only contain one shape feature per record.

Contains both the shape and any attribute data associated with the shape.


Constructor Summary
Record()
          Record constructor comment.
 
Method Summary
 java.lang.Object clone()
          Creats a copy of this record;
 java.lang.String[] getAttributeNames()
          Returns the attribute names associated with the attributes.
 java.lang.Object[] getAttributes()
          Returns the attribute data associated with this shape.
 AttributeType[] getAttributeTypes()
          Returns the AttributeTypes of the columns in this record.
 Shape getShape()
          Returns the Shape associated with this object
 void setAttributeNames(java.lang.String[] inAttributeNames)
          Sets the attribute names associated with the attributes.
 void setAttributes(java.lang.Object[] inAttributes)
          Set the attribute data associated with this shape
 void setAttributeTypes(AttributeType[] inAttributeTypes)
          Sets the AttributeTypes associated with the attributes.
 void setShape(Shape inShape)
          Sets the shape associated with this object
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Record

public Record()
Record constructor comment.

Method Detail

clone

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


getAttributeTypes

public AttributeType[] getAttributeTypes()
Returns the AttributeTypes of the columns in this record.


getAttributeNames

public java.lang.String[] getAttributeNames()
Returns the attribute names associated with the attributes.


getAttributes

public java.lang.Object[] getAttributes()
Returns the attribute data associated with this shape.


getShape

public Shape getShape()
Returns the Shape associated with this object


setAttributeTypes

public void setAttributeTypes(AttributeType[] inAttributeTypes)
Sets the AttributeTypes associated with the attributes.


setAttributeNames

public void setAttributeNames(java.lang.String[] inAttributeNames)
Sets the attribute names associated with the attributes.


setAttributes

public void setAttributes(java.lang.Object[] inAttributes)
Set the attribute data associated with this shape


setShape

public void setShape(Shape inShape)
Sets the shape associated with this object