org.hibernate.type.descriptor.java.spi.AbstractIdentifiableJavaDescriptor 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 http://www.gnu.org/licenses/lgpl-2.1.html
*/
package org.hibernate.type.descriptor.java.spi;
import java.util.Comparator;
import org.hibernate.type.descriptor.java.MutabilityPlan;
/**
* @author Steve Ebersole
*/
public abstract class AbstractIdentifiableJavaDescriptor
extends AbstractManagedJavaDescriptor
implements IdentifiableJavaDescriptor {
public AbstractIdentifiableJavaDescriptor(
String typeName,
Class javaType,
IdentifiableJavaDescriptor superTypeDescriptor,
MutabilityPlan mutabilityPlan,
Comparator comparator) {
super( typeName, javaType, superTypeDescriptor, mutabilityPlan, comparator );
}
@Override
@SuppressWarnings("unchecked")
public IdentifiableJavaDescriptor getSuperType() {
return (IdentifiableJavaDescriptor) super.getSuperType();
}
}