public class DbBigInt extends DbNumber
DbBigInt class wraps a value of the primitive type long in an object. An object of the type DbBigInt contains a
 single field whose type is long.
  In addition, this class provides several methods for converting
 a DbBigInt to a String or other number types,
  as well as other constants and methods used when dealing
 with a DbBigInt.
| Modifier and Type | Field and Description | 
|---|---|
long | 
value
Deprecated.   
 | 
BIGINT_DESC, bNull, CHAR_DESC, CURRENCY_DESC, DATE_DESC, desc, DOUBLE_DESC, INTEGER_DESC, TIME_DESC| Constructor and Description | 
|---|
DbBigInt()
Constructs an uninitialized  
DbBigInt. | 
DbBigInt(DbColDesc desc)
Constructs an uninitialized  
DbBigInt. | 
DbBigInt(long v)
Constructs an uninitialized  
DbBigInt. | 
| Modifier and Type | Method and Description | 
|---|---|
byte | 
byteValue()
Returns the value of this  
DbBigInt as a
 byte. | 
java.lang.Object | 
clone()
Creates a clone of this  
DbBigInt object. | 
double | 
doubleValue()
Returns the value of this  
DbBigInt as a
 double. | 
boolean | 
equals(DbNumber v)
Compares this object to the specified object. 
 | 
float | 
floatValue()
Returns the value of this  
DbBigInt as a
 float. | 
long | 
get()
Returns the value of this  
DbBigInt as a
 long value. | 
int | 
intValue()
Returns the value of this  
DbBigInt as an
 int. | 
long | 
longValue()
Returns the value of this  
DbBigInt as a
 long value. | 
void | 
set(JRHierarchicalDataset hds,
   int col)
Sets a newly allocated  
DbBigInt object that
 represents the long value indicated by the
 JRHierarchicalDataset parameter and an index of the column. | 
void | 
set(long v)
Sets a newly allocated  
DbBigInt object that
 represents the specified long argument. | 
void | 
set(java.sql.ResultSet rs,
   int col)
Sets a newly allocated  
DbBigInt object that
 represents the long value indicated by the
 ResultSet parameter and an index of the column. | 
void | 
setValue(DbNumber v)
Sets a newly allocated  
DbBigInt object that
 represents the long value indicated by the
 DbNumber parameter. | 
void | 
setValue(java.lang.String v)
Sets a newly allocated  
DbBigInt object that
 represents the long value indicated by the
 String parameter. | 
short | 
shortValue()
Returns the value of this  
DbBigInt as a
 short. | 
java.lang.String | 
toString()
Returns a  
String object representing this
 DbBigInt's value. | 
java.lang.String | 
toStringValue()  | 
compareTo, compareTo, compareTo, equals, getColDesc, getDataTimeZone, getPrecision, getScale, getSqlType, isCurrency, isNull, makeDbValue, setColDesc, setfoo, setNull, setValuepublic long value
get and set to access it instead of accessing it directly.public DbBigInt()
DbBigInt. This
 DbBigInt object is mutable until nonzero value 
 and the description of the column are set.public DbBigInt(long v)
DbBigInt. This
 DbBigInt object is mutable until DbColDesc is set.v - A variable holding the minimum value a long can
                        have, which is -263, and the maximum value a long can
                        have, which is 263-1.public DbBigInt(DbColDesc desc)
DbBigInt. This
 DbBigInt object is mutable until the value is set.desc - The value to be represented by the
          DbColDesc object.public long get()
DbBigInt as a
 long value.public void set(long v)
DbBigInt object that
 represents the specified long argument.v - The value to be represented by the
          DbBigInt object, holding the minimum value a long can
                        have, which is -263, and the maximum value a long can
                        have, which is 263-1.public void set(java.sql.ResultSet rs,
                int col)
         throws java.sql.SQLException
DbBigInt object that
 represents the long value indicated by the
 ResultSet parameter and an index of the column.public void set(JRHierarchicalDataset hds, int col) throws java.sql.SQLException
DbBigInt object that
 represents the long value indicated by the
 JRHierarchicalDataset parameter and an index of the column.public java.lang.String toString()
String object representing this
 DbBigInt's value. The value is converted to signed
 decimal representation and returned as a string.
 if the value is null, it returns "NULL".public java.lang.Object clone()
DbBigInt object.public byte byteValue()
DbBigInt as a
 byte.public short shortValue()
DbBigInt as a
 short.shortValue in class DbNumberpublic int intValue()
DbBigInt as an
 int.public long longValue()
DbBigInt as a
 long value.public float floatValue()
DbBigInt as a
 float.floatValue in class DbNumberpublic double doubleValue()
DbBigInt as a
 double.doubleValue in class DbNumberpublic void setValue(DbNumber v)
DbBigInt object that
 represents the long value indicated by the
 DbNumber parameter. The DbNumber object will be checked to see if it is null.public boolean equals(DbNumber v)
true if and only if the argument is not
 null but a DbBigInt object that
 contains the same DbNumber value as this object.public void setValue(java.lang.String v)
DbBigInt object that
 represents the long value indicated by the
 String parameter. The string is converted to a
 long value in exactly the manner used by the
 parseLong method for radix 10.public java.lang.String toStringValue()
toStringValue in class DbValue