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 / Leafref.java
index 9c99d4218a77c0f06a0a9246e66d4cf2fd7b5d26..a185d55ea6be6b0ead0554d30268f92e3c97a5e6 100644 (file)
@@ -17,10 +17,16 @@ 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 Instance Leafref Type Definition interface.\r
+ *\r
+ * @see LeafrefTypeDefinition\r
+ */\r
 public class Leafref implements LeafrefTypeDefinition {\r
     private static final QName name = BaseTypes.constructQName("leafref");\r
-    private static final String description = "";\r
-    private static final String reference = "";\r
+    private static final String description = "The leafref type is used to reference a " +\r
+               "particular leaf instance in the data tree.";\r
+    private static final String reference = "https://tools.ietf.org/html/rfc6020#section-9.9";\r
     private final SchemaPath path = BaseTypes.schemaPath(name);\r
     private final RevisionAwareXPath xpath;\r
     private final String units = "";\r