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;
11 import javax.annotation.Nonnull;
12 import org.opendaylight.yangtools.yang.model.api.TypeDefinition;
15 * Contains the method for getting detail data about unsigned integer.
17 * Specifically it is the method for getting the range value.
19 public interface UnsignedIntegerTypeDefinition extends TypeDefinition<UnsignedIntegerTypeDefinition> {
21 * Returns range data of the instance of the type
22 * <code>UnsignedIntegerTypeDefinition</code>. These are the effective constraints, e.g. they include
23 * any range constraints imposed by base types.
25 * @return list of <code>RangeConstraint</code> which represents the YANG
26 * <code>range</code> substatement arguments.
28 @Nonnull List<RangeConstraint> getRangeConstraints();