to.etc.domui.util
Interface IKeyTranslator<T>


public interface IKeyTranslator<T>

Specifies a way in which an object instance can be converted to an unique key representation of that object (usually by just rendering the primary key as a string), and the reverse.

Author:
Frits Jalvingh Created on Jul 24, 2008

Method Summary
 T getObjectByKey(java.lang.String key)
           
 java.lang.String getRenderableKey(T source)
           
 

Method Detail

getRenderableKey

java.lang.String getRenderableKey(T source)

getObjectByKey

T getObjectByKey(java.lang.String key)
                 throws java.lang.Exception
Throws:
java.lang.Exception