public class

BigIntegerTypeDescriptor

extends AbstractTypeDescriptor<T>
java.lang.Object
   ↳ org.hibernate.type.descriptor.java.AbstractTypeDescriptor<T>
     ↳ org.hibernate.type.descriptor.java.BigIntegerTypeDescriptor

Class Overview

Descriptor for BigInteger handling.

Summary

Fields
public static final BigIntegerTypeDescriptor INSTANCE
Public Constructors
BigIntegerTypeDescriptor()
Public Methods
boolean areEqual(BigInteger one, BigInteger another)
Determine if two instances are equal
int extractHashCode(BigInteger value)
Extract a proper hash code for this value.
BigInteger fromString(String string)
String toString(BigInteger value)
<X> X unwrap(BigInteger value, Class<X> type, WrapperOptions options)
<X> BigInteger wrap(X value, WrapperOptions options)
[Expand]
Inherited Methods
From class org.hibernate.type.descriptor.java.AbstractTypeDescriptor
From class java.lang.Object
From interface org.hibernate.type.descriptor.java.JavaTypeDescriptor

Fields

public static final BigIntegerTypeDescriptor INSTANCE

Public Constructors

public BigIntegerTypeDescriptor ()

Public Methods

public boolean areEqual (BigInteger one, BigInteger another)

Determine if two instances are equal

Parameters
one One instance
another The other instance
Returns
  • True if the two are considered equal; false otherwise.

public int extractHashCode (BigInteger value)

Extract a proper hash code for this value.

Parameters
value The value for which to extract a hash code.
Returns
  • The extracted hash code.

public BigInteger fromString (String string)

public String toString (BigInteger value)

public X unwrap (BigInteger value, Class<X> type, WrapperOptions options)

public BigInteger wrap (X value, WrapperOptions options)