Interface Retrievable


public interface Retrievable
This interface specifies methods for uniquely identifying an object.
Version:
$Id$
Author:
John D. McNally
  • Method Summary

    Modifier and Type
    Method
    Description
    get an id that differentiates this object from others of its class.
    void
    set an id that differentiates this object from others of its class.
  • Method Details

    • getQueryKey

      String getQueryKey()
      get an id that differentiates this object from others of its class.
      Returns:
      the unique key identifying the object
    • setQueryKey

      void setQueryKey(String key) throws Exception
      set an id that differentiates this object from others of its class.
      Parameters:
      key - the identifying key
      Throws:
      Exception - if the key could not be set