org.geotools.filter.identity
Class FeatureIdImpl

Object
  extended by FeatureIdImpl
All Implemented Interfaces:
FeatureId, Identifier

public class FeatureIdImpl
extends Object
implements FeatureId

Implementation of FeatureId

This class is mutable under one condition only; during a commit a datastore can update the internal fid to reflect the real identify assigned by the database or wfs.

Author:
Justin Deoliveira, The Open Planning Project
Module:
modules/library/main (gt-main.jar)

Field Summary
protected  String fid
          underlying fid
protected  String origionalFid
           
 
Constructor Summary
FeatureIdImpl(String fid)
           
 
Method Summary
 boolean equals(Object obj)
           
 String getID()
           
 int hashCode()
           
 boolean matches(Feature feature)
           
 boolean matches(Object object)
           
 void setID(String id)
           
 String toString()
           
 
Methods inherited from class Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

fid

protected String fid
underlying fid


origionalFid

protected String origionalFid
Constructor Detail

FeatureIdImpl

public FeatureIdImpl(String fid)
Method Detail

getID

public String getID()
Specified by:
getID in interface FeatureId
Specified by:
getID in interface Identifier

setID

public void setID(String id)

matches

public boolean matches(Feature feature)

matches

public boolean matches(Object object)
Specified by:
matches in interface FeatureId
Specified by:
matches in interface Identifier

toString

public String toString()
Specified by:
toString in interface Identifier
Overrides:
toString in class Object

equals

public boolean equals(Object obj)
Specified by:
equals in interface Identifier
Overrides:
equals in class Object

hashCode

public int hashCode()
Specified by:
hashCode in interface Identifier
Overrides:
hashCode in class Object


Copyright © 1996-2009 Geotools. All Rights Reserved.