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()
String
getName()
int
getSqlTypeCode()
boolean
isForceImmutable()
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:BindableType
The expected Java type- Specified by:
getBindableJavaType
in 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:BindableType
Resolve this parameter type to the corresponding SqmExpressible- Specified by:
resolveExpressible
in interfaceBindableType<T>
-
-