FileDocCategorySizeDatePackage
ParameterizedType.javaAPI DocHibernate 3.2.5642Sat Sep 04 23:32:54 BST 2004org.hibernate.usertype

ParameterizedType.java

//$Id: ParameterizedType.java 4499 2004-09-05 04:32:54Z oneovthafew $
package org.hibernate.usertype;

import java.util.Properties;

/**
 * Support for parameterizable types. A UserType or CustomUserType may be
 * made parameterizable by implementing this interface. Parameters for a
 * type may be set by using a nested type element for the property element
 * in the mapping file, or by defining a typedef.
 *
 * @author Michael Gloegl
 */
public interface ParameterizedType {

	/**
	 * Gets called by Hibernate to pass the configured type parameters to
	 * the implementation.
	 */
	public void setParameterValues(Properties parameters);
}