org.geotools.data.jdbc
Class MutableFIDFeature

java.lang.Object
  extended byorg.geotools.feature.DefaultFeature
      extended byorg.geotools.data.jdbc.MutableFIDFeature
All Implemented Interfaces:
java.lang.Cloneable, org.opengis.util.Cloneable, Feature, SimpleFeature

public class MutableFIDFeature
extends DefaultFeature

Version:
$Id: MutableFIDFeature.java 17701 2006-01-23 00:00:51Z desruisseaux $ Last Modified: $Date: 2004/04/09 15:30:52 $
Author:
Sean Geoghegan, Defence Science and Technology Organisation, $Author: aaime $

Nested Class Summary
 
Nested classes inherited from class org.geotools.feature.Feature
Feature.NULL
 
Field Summary
 
Fields inherited from class org.geotools.feature.DefaultFeature
featureId
 
Constructor Summary
protected MutableFIDFeature(DefaultFeatureType ft, java.lang.Object[] attributes, java.lang.String fid)
           
 
Method Summary
protected  void setID(java.lang.String id)
          Sets the FID.
 
Methods inherited from class org.geotools.feature.DefaultFeature
clone, equals, getAttribute, getAttribute, getAttributes, getBounds, getDefaultGeometry, getFeatureType, getID, getNumberOfAttributes, getParent, hashCode, setAttribute, setAttribute, setAttributes, setAttributeValue, setDefaultGeometry, setParent, toComplex, toString
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MutableFIDFeature

protected MutableFIDFeature(DefaultFeatureType ft,
                            java.lang.Object[] attributes,
                            java.lang.String fid)
                     throws IllegalAttributeException
Method Detail

setID

protected void setID(java.lang.String id)
Sets the FID. This is protected for safety reason, i.e. so client classes can't use it by casting to it.



Copyright © GeoTools. All Rights Reserved.