org.hibernate.usertype.ParameterizedType Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of hibernate-core Show documentation
Show all versions of hibernate-core Show documentation
Hibernate's core ORM functionality
/*
* Hibernate, Relational Persistence for Idiomatic Java
*
* License: GNU Lesser General Public License (LGPL), version 2.1 or later.
* See the lgpl.txt file in the root directory or .
*/
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.
*/
void setParameterValues(Properties parameters);
}