Merge from development repository.
[controller.git] / opendaylight / sal / yang-prototype / yang / yang-model-api / src / main / java / org / opendaylight / controller / model / api / type / BinaryTypeDefinition.java
index babceb24d5ff96c8aaae85d5362fac97545263c2..e99bbb14c66cecbc76f04ee78e1d60a2afd771cd 100644 (file)
@@ -7,6 +7,8 @@
  */\r
 package org.opendaylight.controller.model.api.type;\r
 \r
+import java.util.List;\r
+\r
 import org.opendaylight.controller.yang.model.api.TypeDefinition;\r
 \r
 /**\r
@@ -18,16 +20,16 @@ import org.opendaylight.controller.yang.model.api.TypeDefinition;
  * 4</a>). <br>\r
  * The canonical form of a binary value follows the rules in <a\r
  * href="https://tools.ietf.org/html/rfc4648">[RFC4648]</a>.\r
- * \r
- * \r
+ *\r
+ *\r
  */\r
 public interface BinaryTypeDefinition extends\r
         TypeDefinition<BinaryTypeDefinition> {\r
 \r
     /**\r
-     * Returns the number of octets it that binary value contains.\r
-     * \r
-     * @return the number of octets it that binary value contains.\r
+     * Returns List of number of octets that binary value contains.\r
+     *\r
+     * @return List of number of octets that binary value contains.\r
      */\r
-    public LengthConstraint getLengthConstraint();\r
+    public List<LengthConstraint> getLengthConstraints();\r
 }\r