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