public static class HibernateIntegerType.MyIntegerType extends org.hibernate.type.AbstractSingleColumnStandardBasicType<Integer> implements org.hibernate.type.PrimitiveType<Integer>, org.hibernate.type.DiscriminatorType<Integer>, org.hibernate.type.VersionType<Integer>
| Modifier and Type | Field and Description |
|---|---|
static HibernateIntegerType.MyIntegerType |
INSTANCE |
static Integer |
ZERO |
| Constructor and Description |
|---|
HibernateIntegerType.MyIntegerType() |
| Modifier and Type | Method and Description |
|---|---|
Comparator<Integer> |
getComparator() |
Serializable |
getDefaultValue() |
String |
getName() |
Class |
getPrimitiveClass() |
String[] |
getRegistrationKeys() |
Integer |
next(Integer current,
org.hibernate.engine.spi.SessionImplementor session) |
String |
objectToSQLString(Integer value,
org.hibernate.dialect.Dialect dialect) |
Integer |
seed(org.hibernate.engine.spi.SessionImplementor session) |
Integer |
stringToObject(String xml) |
nullSafeSet, sqlTypeassemble, beforeAssemble, compare, deepCopy, deepCopy, defaultSizes, dictatedSizes, disassemble, fromString, fromStringValue, fromXMLNode, fromXMLString, get, getColumnSpan, getDefaultSize, getDictatedSize, getHashCode, getHashCode, getJavaTypeDescriptor, getMutabilityPlan, getReplacement, getReturnedClass, getSemiResolvedType, getSqlTypeDescriptor, hydrate, isAnyType, isAssociationType, isCollectionType, isComponentType, isDirty, isDirty, isDirty, isEntityType, isEqual, isEqual, isModified, isMutable, isSame, isXMLElement, nullSafeGet, nullSafeGet, nullSafeGet, nullSafeGet, nullSafeSet, nullSafeSet, registerUnderJavaType, remapSqlTypeDescriptor, replace, replace, resolve, semiResolve, set, setToXMLNode, sqlTypes, toColumnNullness, toLoggableString, toString, toXMLStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitassemble, beforeAssemble, compare, deepCopy, defaultSizes, dictatedSizes, disassemble, fromXMLNode, getColumnSpan, getHashCode, getHashCode, getReturnedClass, getSemiResolvedType, hydrate, isAnyType, isAssociationType, isCollectionType, isComponentType, isDirty, isDirty, isEntityType, isEqual, isEqual, isModified, isMutable, isSame, isXMLElement, nullSafeGet, nullSafeGet, nullSafeSet, nullSafeSet, replace, replace, resolve, semiResolve, setToXMLNode, sqlTypes, toColumnNullness, toLoggableStringpublic static final HibernateIntegerType.MyIntegerType INSTANCE
public static final Integer ZERO
public String getName()
getName in interface org.hibernate.type.Typepublic String[] getRegistrationKeys()
getRegistrationKeys in interface org.hibernate.type.BasicTypegetRegistrationKeys in class org.hibernate.type.AbstractStandardBasicType<Integer>public Serializable getDefaultValue()
getDefaultValue in interface org.hibernate.type.PrimitiveType<Integer>public Class getPrimitiveClass()
getPrimitiveClass in interface org.hibernate.type.PrimitiveType<Integer>public String objectToSQLString(Integer value, org.hibernate.dialect.Dialect dialect) throws Exception
public Integer stringToObject(String xml)
stringToObject in interface org.hibernate.type.IdentifierType<Integer>public Integer seed(org.hibernate.engine.spi.SessionImplementor session)
seed in interface org.hibernate.type.VersionType<Integer>public Integer next(Integer current, org.hibernate.engine.spi.SessionImplementor session)
next in interface org.hibernate.type.VersionType<Integer>public Comparator<Integer> getComparator()
getComparator in interface org.hibernate.type.VersionType<Integer>Copyright © 2016. All rights reserved.