import java.util.Objects;
import org.eclipse.jdt.annotation.NonNull;
import org.eclipse.jdt.annotation.Nullable;
+import org.opendaylight.yangtools.yang.common.QName;
+import org.opendaylight.yangtools.yang.common.YangConstants;
/**
- * The binary built-in type represents any binary data, i.e., a sequence of
- * octets.
- * <br>
- * Binary values are encoded with the base64 encoding scheme (see <a
- * href="https://tools.ietf.org/html/rfc4648#section-4">[RFC4648], Section
- * 4</a>). <br>
- * The canonical form of a binary value follows the rules in <a
- * href="https://tools.ietf.org/html/rfc4648">[RFC4648]</a>.
+ * The binary built-in type represents any binary data, i.e., a sequence of octets. Binary values are encoded with the
+ * Base64 encoding scheme (see <a href="https://tools.ietf.org/html/rfc4648#section-4">[RFC4648], Section 4</a>).<br>
+ * The canonical form of a binary value follows the rules defined in
+ * <a href="https://tools.ietf.org/html/rfc4648">[RFC4648]</a>.
*
- * <br>
- * This interface was modeled according to definition in <a
- * href="https://tools.ietf.org/html/rfc6020#section-9.8">[RFC-6020] The binary
- * Built-In Type</a>
+ * <p>
+ * This interface was modeled according to definition in
+ * <a href="https://tools.ietf.org/html/rfc6020#section-9.8">[RFC-6020] The binary Built-In Type</a>
*/
public interface BinaryTypeDefinition extends LengthRestrictedTypeDefinition<BinaryTypeDefinition> {
+ /**
+ * Well-known QName of the {@code binary} built-in type.
+ */
+ QName QNAME = QName.create(YangConstants.RFC6020_YANG_MODULE, "binary").intern();
static String toString(final @NonNull BinaryTypeDefinition type) {
return TypeDefinitions.toStringHelper(type).add("length", type.getLengthConstraint().orElse(null)).toString();