@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 Identifierboolean matches(Object obj)
matches in interface Identifierobj - Object to be tested.true if a match, otherwise falseCopyright © 1996–2021 Geotools. All rights reserved.