@XmlElement(value="RecordId") public interface ObjectId extends Identifier
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).
Modifier and Type | Method and Description |
---|---|
Long |
getID()
The identifier value, which is a Long.
|
boolean |
matches(Object obj)
Evaluates the identifer value against the given Object.
|
equals, hashCode, toString
@XmlElement(value="id") Long getID()
getID
in interface Identifier
boolean matches(Object obj)
matches
in interface Identifier
obj
- Object to be tested.true
if a match, otherwise false
Copyright © 1996–2019 Geotools. All rights reserved.