|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.pleso.framework.client.dal.db.types.DBBigInt
public class DBBigInt
Database BigInt type.
Internally presented like special BigInt type.
see Language
Support However, there is no 64-bit integral type in JavaScript, so
variables of type long are mapped onto JavaScript double-precision floating
point values.
| Field Summary | |
|---|---|
static BigInt |
nullValue
Predefined BigInt null value. |
| Constructor Summary | |
|---|---|
DBBigInt()
Constructs new DBBigInt with null value. |
|
DBBigInt(BigInt initialValue)
Constructs new DBBigInt with specified initial value. |
|
| Method Summary | |
|---|---|
BigInt |
getBigInt()
|
java.lang.String |
getValue()
Returns string representation of current value, held in implementation. |
boolean |
isNull()
Checks whether value of instance equals null. |
boolean |
parseValue(java.lang.String value)
Parses string representation of value to represented type and assigns parsed value to self. |
void |
setNull()
Sets instance value to null. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final BigInt nullValue
BigInt null value.
| Constructor Detail |
|---|
public DBBigInt()
DBBigInt with null value.
public DBBigInt(BigInt initialValue)
DBBigInt with specified initial value.
initialValue - a initial value for newly constructed db value| Method Detail |
|---|
public boolean isNull()
INullable
isNull in interface INullabletrue if instance value is nullpublic void setNull()
INullable
setNull in interface INullablepublic java.lang.String getValue()
IDBValue
getValue in interface IDBValuepublic boolean parseValue(java.lang.String value)
IDBValuenull
implementation must try to set itself to null.
parseValue in interface IDBValuevalue - string representation of value
true if value parsed and assigned successfullypublic BigInt getBigInt()
BigInt value of instance
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||