org.geotools.data.jdbc
Class MutableFIDFeature

java.lang.Object
  extended by org.geotools.feature.simple.SimpleFeatureImpl
      extended by org.geotools.data.jdbc.MutableFIDFeature
All Implemented Interfaces:
org.opengis.feature.Attribute, org.opengis.feature.ComplexAttribute, org.opengis.feature.Feature, org.opengis.feature.Property, org.opengis.feature.simple.SimpleFeature

Deprecated. scheduled for removal in 2.7, use classes in org.geotools.jdbc

public class MutableFIDFeature
extends SimpleFeatureImpl

Version:
$Id: MutableFIDFeature.java 33484 2009-07-06 02:17:34Z jdeolive $ Last Modified: $Date: 2004/04/09 15:30:52 $
Author:
Sean Geoghegan, Defence Science and Technology Organisation, $Author: aaime $

Field Summary
 
Fields inherited from class org.geotools.feature.simple.SimpleFeatureImpl
attributeUserData, featureType, id, index, userData, validating, values
 
Constructor Summary
MutableFIDFeature(java.util.List<java.lang.Object> values, org.opengis.feature.simple.SimpleFeatureType ft, java.lang.String fid)
          Deprecated.  
 
Method Summary
 void setID(java.lang.String fid)
          Deprecated. Sets the FID, used by datastores only.
 
Methods inherited from class org.geotools.feature.simple.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, toString, validate
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MutableFIDFeature

public MutableFIDFeature(java.util.List<java.lang.Object> values,
                         org.opengis.feature.simple.SimpleFeatureType ft,
                         java.lang.String fid)
                  throws IllegalAttributeException
Deprecated. 
Throws:
IllegalAttributeException
Method Detail

setID

public void setID(java.lang.String fid)
Deprecated. 
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-2010 Geotools. All Rights Reserved.