Package org.geotools.api.filter.identity
Interface ObjectId
- All Superinterfaces:
Identifier
ObjectId refered to by Filter 1.1 specification (as an example).
Although ObjectId is refered to as an example we are making explicit use of it here in order to show identification being defined with a long (as with several popular object relational mappers).
- Since:
- GeoAPI 2.1
- Author:
- Jody Garnett, Refractions Research Inc.
-
Method Summary
Methods inherited from interface Identifier
equals, hashCode, toString
-
Method Details
-
getID
Long getID()The identifier value, which is a Long.- Specified by:
getID
in interfaceIdentifier
-
matches
Evaluates the identifer value against the given Object.- Specified by:
matches
in interfaceIdentifier
- Parameters:
obj
- Object to be tested.- Returns:
true
if a match, otherwisefalse
-