--- /dev/null
+/*\r
+ * Copyright (c) 2013 Cisco Systems, Inc. and others. All rights reserved.\r
+ *\r
+ * This program and the accompanying materials are made available under the\r
+ * terms of the Eclipse Public License v1.0 which accompanies this distribution,\r
+ * and is available at http://www.eclipse.org/legal/epl-v10.html\r
+ */\r
+package org.opendaylight.controller.model.api.type;\r
+\r
+import org.opendaylight.controller.yang.model.api.TypeDefinition;\r
+\r
+/**\r
+ * The binary built-in type represents any binary data, i.e., a sequence of\r
+ * octets. <br>\r
+ * <br>\r
+ * Binary values are encoded with the base64 encoding scheme (see <a\r
+ * href="https://tools.ietf.org/html/rfc4648#section-4">[RFC4648], Section\r
+ * 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
+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
+ */\r
+ public LengthConstraint getLengthConstraint();\r
+}\r