1 //$Id: ParameterizedType.java,v 1.3 2004/09/05 04:32:54 oneovthafew Exp $ 2 package org.hibernate.usertype; 3 4 import java.util.Properties; 5 6 /** 7 * Support for parameterizable types. A UserType or CustomUserType may be 8 * made parameterizable by implementing this interface. Parameters for a 9 * type may be set by using a nested type element for the property element 10 * in the mapping file, or by defining a typedef. 11 * 12 * @author Michael Gloegl 13 */ 14 public interface ParameterizedType { 15 16 /** 17 * Gets called by Hibernate to pass the configured type parameters to 18 * the implementation. 19 */ 20 public void setParameterValues(Properties parameters); 21 }