Updated YANG Type definitions and documentation in YANG Model Utils.
[controller.git] / opendaylight / sal / yang-prototype / yang / yang-model-util / src / main / java / org / opendaylight / controller / model / util / BooleanType.java
index c9d319d2c6559eb8467d1c36627eecb4cff31aaa..171612b1cdeee0d7e3f4afab121e46bc1507668b 100644 (file)
@@ -16,12 +16,17 @@ import org.opendaylight.controller.yang.model.api.SchemaPath;
 import org.opendaylight.controller.yang.model.api.Status;\r
 import org.opendaylight.controller.yang.model.api.UnknownSchemaNode;\r
 \r
+/**\r
+ * The <code>default</code> implementation of Boolean Type Definition interface.\r
+ * \r
+ * @see BooleanTypeDefinition\r
+ */\r
 public class BooleanType implements BooleanTypeDefinition {\r
 \r
     private final QName name = BaseTypes.constructQName("boolean");\r
     private final SchemaPath path = BaseTypes.schemaPath(name);\r
-    private final String description = "";\r
-    private final String reference = "";\r
+    private final String description = "The boolean built-in type represents a boolean value.";\r
+    private final String reference = "https://tools.ietf.org/html/rfc6020#section-9.5";\r
 \r
     private final Boolean defaultValue;\r
     private String units = "";\r
@@ -35,9 +40,9 @@ public class BooleanType implements BooleanTypeDefinition {
     }\r
 \r
     /**\r
+     * Boolean Type constructor.\r
      * \r
-     * \r
-     * @param defaultValue\r
+     * @param defaultValue Default Value\r
      */\r
     public BooleanType(final Boolean defaultValue) {\r
         super();\r
@@ -45,10 +50,10 @@ public class BooleanType implements BooleanTypeDefinition {
     }\r
 \r
     /**\r
+     * Boolean Type constructor.\r
      * \r
-     * \r
-     * @param defaultValue\r
-     * @param units\r
+     * @param defaultValue Default Value\r
+     * @param units Units\r
      */\r
     public BooleanType(final Boolean defaultValue, final String units) {\r
         super();\r