com.iplanet.jato
Interface ModelTypeMap


public interface ModelTypeMap

Allows for the mapping of a Model interface to a class that implements that interface. This class is used by the ModelManager. Each JATO application should have a single implementation of this interface.

Version:
JATO/1.2.2 $Id: ModelTypeMap.java,v 1.12 2002/03/16 03:26:28 todd Exp $
See Also:
ModelManager, Model

Method Summary
 java.lang.Class getModelImplClass(java.lang.Class modelInterface)
          Return the model implementation class that corresponds to the provided Model interface or implementation class.
 

Method Detail

getModelImplClass

public java.lang.Class getModelImplClass(java.lang.Class modelInterface)
Return the model implementation class that corresponds to the provided Model interface or implementation class. In the default implementation of this method in ModelTypeMapBase, if the provided class does not map to an implementation class, the provided class will be returned instead, with the asusmption that it is an implementation class.
Parameters:
modelInterface - The target Model interface or implementation class