public class BooleanTypeDescriptor extends Object implements SqlTypeDescriptor
BOOLEAN
handling.Modifier and Type | Field and Description |
---|---|
static BooleanTypeDescriptor |
INSTANCE |
Constructor and Description |
---|
BooleanTypeDescriptor() |
Modifier and Type | Method and Description |
---|---|
boolean |
canBeRemapped()
Is this descriptor available for remapping?
|
<X> ValueBinder<X> |
getBinder(JavaTypeDescriptor<X> javaTypeDescriptor) |
<X> ValueExtractor<X> |
getExtractor(JavaTypeDescriptor<X> javaTypeDescriptor) |
int |
getSqlType()
Return the JDBC type-code for the column mapped by this type.
|
public static final BooleanTypeDescriptor INSTANCE
public int getSqlType()
SqlTypeDescriptor
getSqlType
in interface SqlTypeDescriptor
public boolean canBeRemapped()
SqlTypeDescriptor
canBeRemapped
in interface SqlTypeDescriptor
true
indicates this descriptor can be remapped; otherwise, false
WrapperOptions.remapSqlTypeDescriptor(org.hibernate.type.descriptor.sql.SqlTypeDescriptor)
,
Dialect.remapSqlTypeDescriptor(org.hibernate.type.descriptor.sql.SqlTypeDescriptor)
public <X> ValueBinder<X> getBinder(JavaTypeDescriptor<X> javaTypeDescriptor)
getBinder
in interface SqlTypeDescriptor
public <X> ValueExtractor<X> getExtractor(JavaTypeDescriptor<X> javaTypeDescriptor)
getExtractor
in interface SqlTypeDescriptor
Copyright © 2012 JBoss by Red Hat. All Rights Reserved.