Package org.hibernate.type
Class BasicTypeReference<T>
- java.lang.Object
-
- org.hibernate.type.BasicTypeReference<T>
-
- All Implemented Interfaces:
Serializable,BindableType<T>
public final class BasicTypeReference<T> extends Object implements BindableType<T>, Serializable
A basic type reference.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description BasicTypeReference(String name, Class<? extends T> javaType, int sqlTypeCode)BasicTypeReference(String name, Class<? extends T> javaType, int sqlTypeCode, BasicValueConverter<T,?> converter)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BasicTypeReference<T>asImmutable()Class<T>getBindableJavaType()The expected Java typeBasicValueConverter<T,?>getConverter()StringgetName()intgetSqlTypeCode()booleanisForceImmutable()SqmExpressible<T>resolveExpressible(SessionFactoryImplementor sessionFactory)Resolve this parameter type to the corresponding SqmExpressible-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.hibernate.query.BindableType
isInstance
-
-
-
-
Method Detail
-
getName
public String getName()
-
getBindableJavaType
public Class<T> getBindableJavaType()
Description copied from interface:BindableTypeThe expected Java type- Specified by:
getBindableJavaTypein interfaceBindableType<T>
-
getSqlTypeCode
public int getSqlTypeCode()
-
getConverter
public BasicValueConverter<T,?> getConverter()
-
isForceImmutable
public boolean isForceImmutable()
-
asImmutable
public BasicTypeReference<T> asImmutable()
-
resolveExpressible
public SqmExpressible<T> resolveExpressible(SessionFactoryImplementor sessionFactory)
Description copied from interface:BindableTypeResolve this parameter type to the corresponding SqmExpressible- Specified by:
resolveExpressiblein interfaceBindableType<T>
-
-