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 Details

    • GWTCompatibleNumberDTO

      protected GWTCompatibleNumberDTO()
  • Method Details

    • getType

      public String getType()
    • setType

      public void setType(String type)
    • 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 native GWTCompatibleNumberDTO.
      Returns:
      The new instance.
    • convertToJavaScriptObject

      public static com.google.gwt.core.client.JavaScriptObject convertToJavaScriptObject(Object o)
    • asDouble

      public static double asDouble(com.google.gwt.core.client.JavaScriptObject o)
    • from

      public static GWTCompatibleNumberDTO from(Number number)
    • to

      public static Number to(GWTCompatibleNumberDTO dto)