All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.hibernate.boot.spi.AttributeConverterDescriptor Maven / Gradle / Ivy

The newest version!
/*
 * 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.boot.spi;

import javax.persistence.AttributeConverter;

import org.hibernate.annotations.common.reflection.XProperty;

/**
 * Internal descriptor for an AttributeConverter implementation.
 *
 * @author Steve Ebersole
 */
public interface AttributeConverterDescriptor {
	AttributeConverter getAttributeConverter();
	Class getDomainType();
	Class getJdbcType();

	boolean shouldAutoApplyToAttribute(XProperty xProperty, MetadataBuildingContext context);
	boolean shouldAutoApplyToCollectionElement(XProperty xProperty, MetadataBuildingContext context);
	boolean shouldAutoApplyToMapKey(XProperty xProperty, MetadataBuildingContext context);

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy