| com.jcorporate.expresso.core.dbobj.LookupInterface
All known Subclasses: com.jcorporate.expresso.core.security.User, com.jcorporate.expresso.core.dbobj.DBObject,
LookupInterface | public interface LookupInterface (Code) | | Anything that implements the lookup interface must provide a return vector
of valid values that when called provide a key that maps one to one to
a particular value. For example, using this in UserInfo type classes, it
provides a way to map user id integers to username strings.
author: Michael Rimov since: Expresso 4.0 |
Method Summary | |
public Vector | getValues() Method to return a Vector of ValidValue
This method may be implemented by objects that want to provide a
list of valid values for other DB objects. |
getValues | public Vector getValues() throws com.jcorporate.expresso.core.db.DBException(Code) | | Method to return a Vector of ValidValue
This method may be implemented by objects that want to provide a
list of valid values for other DB objects. It is strongly recommended
that the valid value list be cached (via the CacheManager) for performance.
The naming convention used in Expresso is to store the ValidValue list with
a cache name the same as the db objects class name with ".validValues" appended
A ValidValue vector describing what can be looked up. |
|
|