Update the API generation code and code generation sample
[controller.git] / opendaylight / sal / yang-prototype / code-generator / binding-generator-impl / src / main / java / org / opendaylight / controller / sal / binding / yang / types / BaseYangTypes.java
index d00b73d676bee50ccf29affa6e6370a698528652..b050ce65f15da24883b2df9685d528ae8ef6250e 100644 (file)
@@ -8,6 +8,7 @@
 package org.opendaylight.controller.sal.binding.yang.types;\r
 \r
 import java.math.BigDecimal;\r
+import java.math.BigInteger;\r
 import java.util.HashMap;\r
 import java.util.Map;\r
 \r
@@ -30,7 +31,7 @@ public class BaseYangTypes {
     public static final Type UINT8_TYPE = Types.typeForClass(Short.class);\r
     public static final Type UINT16_TYPE = Types.typeForClass(Integer.class);\r
     public static final Type UINT32_TYPE = Types.typeForClass(Long.class);\r
-    public static final Type UINT64_TYPE = Types.typeForClass(BigDecimal.class);\r
+    public static final Type UINT64_TYPE = Types.typeForClass(BigInteger.class);\r
 \r
     static {\r
         typeMap.put("boolean", BOOLEAN_TYPE);\r
@@ -44,7 +45,6 @@ public class BaseYangTypes {
         typeMap.put("uint16", UINT16_TYPE);\r
         typeMap.put("uint32", UINT32_TYPE);\r
         typeMap.put("uint64", UINT64_TYPE);\r
-\r
     }\r
 \r
     public static final TypeProvider BASE_YANG_TYPES_PROVIDER = new TypeProvider() {\r