Class GWTCompatibleNumberDTO
java.lang.Object
com.google.gwt.core.client.JavaScriptObject
com.levigo.jadice.web.client.messaging.GWTCompatibleNumberDTO
public final class GWTCompatibleNumberDTO
extends com.google.gwt.core.client.JavaScriptObject
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic double
asDouble
(com.google.gwt.core.client.JavaScriptObject o) static com.google.gwt.core.client.JavaScriptObject
static GWTCompatibleNumberDTO
Replacement constructor.static GWTCompatibleNumberDTO
getType()
com.google.gwt.core.client.JavaScriptObject
getValue()
void
void
setValue
(com.google.gwt.core.client.JavaScriptObject value) static Number
to
(GWTCompatibleNumberDTO dto) Methods inherited from class com.google.gwt.core.client.JavaScriptObject
cast, createArray, createArray, createFunction, createObject, equals, hashCode, toSource, toString
-
Constructor Details
-
GWTCompatibleNumberDTO
protected GWTCompatibleNumberDTO()
-
-
Method Details
-
getType
-
setType
-
getValue
public com.google.gwt.core.client.JavaScriptObject getValue() -
setValue
public void setValue(com.google.gwt.core.client.JavaScriptObject value) -
create
public static GWTCompatibleNumberDTO create(String type, com.google.gwt.core.client.JavaScriptObject value) Replacement constructor. Creates a new nativeGWTCompatibleNumberDTO
.- Returns:
- The new instance.
-
convertToJavaScriptObject
-
asDouble
public static double asDouble(com.google.gwt.core.client.JavaScriptObject o) -
from
-
to
-