com.newisys.randsolver
Interface RandomMapperFactory


public interface RandomMapperFactory

An interface which provides support for generating a family of RandomMapper objects based on a class hierarchy.


Method Summary
 RandomMapper getConstraintMapper(Class c)
          Return a RandomMapper, if one is available for the given class.
 

Method Detail

getConstraintMapper

RandomMapper getConstraintMapper(Class c)
Return a RandomMapper, if one is available for the given class. If no RandomMapper can be created for the class, this method returns null.

Parameters:
c - The class for which to provide a RandomMapper
Returns:
the RandomMapper to associate with class c, or null if this factory cannot create a RandomMapper for class c.