001    package net.sf.tacos.model;
002    
003    import java.io.Serializable;
004    
005    /**
006     * An interface for converting an object to a serializable key and back.
007     * 
008     * @author phraktle
009     */
010    public interface IKeyProvider {
011    
012        /**
013         * Gets the key for a particular value
014         * @param value
015         * @return
016         */
017        public Serializable getKey(Object value);
018    
019    }