org.jcon.data
Interface LookupIndex

All Known Subinterfaces:
MakeupIndex
All Known Implementing Classes:
FieldIndex, PicklistIndex, SinglePropertyIndex, ToStringIndex

public interface LookupIndex

A LookupIndex is a description of the way in which a certain type of data is stored and retrieved. It defines a key extraction method; this key is then used to evaluate equality of the data and for search functions.


Method Summary
 java.lang.Object keyOf(java.lang.Object victim)
          Returns a lookup key for the given object.
 

Method Detail

keyOf

java.lang.Object keyOf(java.lang.Object victim)
Returns a lookup key for the given object. This key can be stored and used to lookup the object at a later time.