org.apache.turbine.om
Interface Retrievable


public interface Retrievable

This interface specifies methods for uniquely identifying an object.

Version:
$Id: Retrievable.java 615328 2008-01-25 20:25:05Z tv $
Author:
John D. McNally

Method Summary
 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 occured while setting the id.


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