org.geotools.data.jdbc
Class MutableFIDFeature

Object
  extended by SimpleFeatureImpl
      extended by MutableFIDFeature
All Implemented Interfaces:
Attribute, ComplexAttribute, Feature, Property, SimpleFeature

public class MutableFIDFeature
extends SimpleFeatureImpl

Author:
Sean Geoghegan, Defence Science and Technology Organisation, $Author: aaime $
Module:

Field Summary
 
Fields inherited from class SimpleFeatureImpl
attributeUserData, featureType, id, index, userData, validating, values
 
Constructor Summary
MutableFIDFeature(List<Object> values, SimpleFeatureType ft, String fid)
           
 
Method Summary
 void setID(String fid)
          Sets the FID, used by datastores only.
 
Methods inherited from class SimpleFeatureImpl
equals, getAttribute, getAttribute, getAttribute, getAttributeCount, getAttributes, getBounds, getDefaultGeometry, getDefaultGeometryProperty, getDescriptor, getFeatureType, getID, getIdentifier, getName, getNumberOfAttributes, getProperties, getProperties, getProperties, getProperty, getProperty, getType, getUserData, getValue, hashCode, isNillable, setAttribute, setAttribute, setAttribute, setAttributes, setAttributes, setDefaultGeometry, setDefaultGeometryProperty, setValue, setValue, validate
 
Methods inherited from class Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MutableFIDFeature

public MutableFIDFeature(List<Object> values,
                         SimpleFeatureType ft,
                         String fid)
                  throws IllegalAttributeException
Throws:
IllegalAttributeException
Method Detail

setID

public void setID(String fid)
Sets the FID, used by datastores only. I would love to protect this for safety reason, i.e. so client classes can't use it by casting to it.

Parameters:
id - The fid to set.


Copyright © 1996-2009 Geotools. All Rights Reserved.