Package org.geotools.api.filter.identity
Interface ObjectId
-
- All Superinterfaces:
Identifier
public interface ObjectId extends 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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Long
getID()
The identifier value, which is a Long.boolean
matches(Object obj)
Evaluates the identifer value against the given Object.-
Methods inherited from interface Identifier
equals, hashCode, toString
-
-
-
-
Method Detail
-
getID
Long getID()
The identifier value, which is a Long.- Specified by:
getID
in interfaceIdentifier
-
matches
boolean matches(Object obj)
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
-
-