org.apache.turbine.om

## Interface Retrievable

-     public interface Retrievable

  This interface specifies methods for uniquely identifying an object.
  Version:
    $Id: Retrievable.java 1706425 2015-10-02 14:47:51Z tv $
  Author:
    John D. McNally

- - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `String` | `getQueryKey()` get an id that differentiates this object from others of its class.
    `void` | `setQueryKey(String key)` set an id that differentiates this object from others of its class.

- - ### Method Detail

    - #### getQueryKey

          String getQueryKey()

      get an id that differentiates this object from others of its class.
      Returns:
        The id value

    - #### setQueryKey

          void setQueryKey(String key)
                           throws Exception

      set an id that differentiates this object from others of its class.
      Parameters:
        `key` - The new id value
      Throws:
        `Exception` - A problem occurred while setting the id.

Copyright © 2000-2015 The Apache Software Foundation. All Rights Reserved.