net.pleso.framework.client.dal.types
Class BigInt

java.lang.Object
  extended by net.pleso.framework.client.dal.types.BigInt
All Implemented Interfaces:
com.google.gwt.user.client.rpc.IsSerializable

public class BigInt
extends java.lang.Object
implements com.google.gwt.user.client.rpc.IsSerializable

Special Long-like type with internal String realization. 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. Thats why this type has internal String realization.


Constructor Summary
BigInt()
           
BigInt(long initialValue)
           
BigInt(java.lang.Long initialValue)
           
BigInt(java.lang.String initialValue)
           
 
Method Summary
 java.lang.Long getAsLong()
           
 java.lang.String getAsString()
           
 void setAsLong(java.lang.Long value)
           
 void setAsString(java.lang.String value)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

BigInt

public BigInt()

BigInt

public BigInt(long initialValue)

BigInt

public BigInt(java.lang.String initialValue)

BigInt

public BigInt(java.lang.Long initialValue)
Method Detail

getAsString

public java.lang.String getAsString()

getAsLong

public java.lang.Long getAsLong()

setAsString

public void setAsString(java.lang.String value)

setAsLong

public void setAsLong(java.lang.Long value)

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object


Copyright © 2006-2007 pleso.net crew All Rights Reserved.