01: package com.jamonapi;
02:
03: /** Used for MonKey to allow jamon to have the generalized form of the key for aggregation, and the
04: * more specific form for writing out details say to a buffer.
05: *
06: * For example the generalized form of a query would be something like: select * from table where
07: * name=?. The detail form would be something like: select * from table where name='steve'
08: *
09: * MonKeyItems can be placed as objects in MonKeyImp, and MonKeyBase
10: *
11: * Note toString() should always return the more generalized form.
12: * @author steve souza
13: *
14: */
15:
16: import java.util.List;
17:
18: public interface MonKeyItem {
19: public Object getDetails();
20:
21: public void setDetails(Object details);
22: }
|