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

    Modifier and Type
    Method
    Description
    The identifier value, which is a Long.
    boolean
    Evaluates the identifer value against the given Object.

    Methods inherited from interface Identifier

    equals, hashCode, toString
  • Method Details

    • getID

      Long getID()
      The identifier value, which is a Long.
      Specified by:
      getID in interface Identifier
    • matches

      boolean matches(Object obj)
      Evaluates the identifer value against the given Object.
      Specified by:
      matches in interface Identifier
      Parameters:
      obj - Object to be tested.
      Returns:
      true if a match, otherwise false