Merge "Convert various result into Status Signed-off-by: Jason Ye <yisye@cisco.com>"
[controller.git] / opendaylight / sal / yang-prototype / yang / yang-model-util / src / main / java / org / opendaylight / controller / yang / model / util / Int16.java
index 40857d1c32526fcca3b1c0f16dfe246fc2dcf107..750dff5c7a5e9d88094c728f097a7e1c0ca81809 100644 (file)
@@ -7,6 +7,8 @@
  */
 package org.opendaylight.controller.yang.model.util;
 
+import java.net.URI;
+import java.util.Date;
 import java.util.List;
 
 import org.opendaylight.controller.yang.common.QName;
@@ -17,23 +19,25 @@ import org.opendaylight.controller.yang.model.api.type.RangeConstraint;
  * Implementation of Yang int16 built-in type. <br>
  * int16 represents integer values between -32768 and 32767, inclusively. The
  * Java counterpart of Yang int16 built-in type is {@link Short}.
- * 
+ *
  * @see AbstractSignedInteger
  */
 public class Int16 extends AbstractSignedInteger {
 
     private static final QName name = BaseTypes.constructQName("int16");
     private Short defaultValue = null;
-    private static final String description = 
+    private static final String description =
             "int16  represents integer values between -32768 and 32767, inclusively.";
 
-    public Int16() {
-        super(name, description, Short.MIN_VALUE, Short.MAX_VALUE, "");
+    public Int16(final List<String> actualPath, final URI namespace,
+            final Date revision) {
+        super(actualPath, namespace, revision, name, description, Short.MIN_VALUE, Short.MAX_VALUE, "");
     }
 
-    public Int16(final List<RangeConstraint> rangeStatements,
+    public Int16(final List<String> actualPath, final URI namespace,
+            final Date revision, final List<RangeConstraint> rangeStatements,
             final String units, final Short defaultValue) {
-        super(name, description, rangeStatements, units);
+        super(actualPath, namespace, revision, name, description, rangeStatements, units);
         this.defaultValue = defaultValue;
     }