2 * Copyright (c) 2013 Cisco Systems, Inc. and others. All rights reserved.
4 * This program and the accompanying materials are made available under the
5 * terms of the Eclipse Public License v1.0 which accompanies this distribution,
6 * and is available at http://www.eclipse.org/legal/epl-v10.html
8 package org.opendaylight.yangtools.yang.model.api.type;
10 import java.util.List;
12 import org.opendaylight.yangtools.yang.model.api.TypeDefinition;
15 * The binary built-in type represents any binary data, i.e., a sequence of
18 * Binary values are encoded with the base64 encoding scheme (see <a
19 * href="https://tools.ietf.org/html/rfc4648#section-4">[RFC4648], Section
21 * The canonical form of a binary value follows the rules in <a
22 * href="https://tools.ietf.org/html/rfc4648">[RFC4648]</a>.
26 * This interface was modeled according to definition in <a
27 * href="https://tools.ietf.org/html/rfc6020#section-9.8">[RFC-6020] The binary
31 public interface BinaryTypeDefinition extends TypeDefinition<BinaryTypeDefinition> {
34 * Returns List of number of octets that binary value contains.
36 * @return List of number of octets that binary value contains.
38 * @see LengthConstraint
40 List<LengthConstraint> getLengthConstraints();