org.geotools.filter.identity
Class FeatureIdImpl
Object
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
fid
protected String fid
- underlying fid
origionalFid
protected String origionalFid
FeatureIdImpl
public FeatureIdImpl(String fid)
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.