Package org.apache.fulcrum.intake
Interface Retrievable
public interface Retrievable
This interface specifies methods for uniquely identifying an object.
- Version:
- $Id$
- Author:
- John D. McNally
-
Method Summary
Modifier and TypeMethodDescriptionget 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 Details
-
getQueryKey
String getQueryKey()get an id that differentiates this object from others of its class.- Returns:
- the unique key identifying the object
-
setQueryKey
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
-