Merge "Add features artifact"
[yangtools.git] / yang / yang-model-api / src / main / java / org / opendaylight / yangtools / yang / model / api / type / UnsignedIntegerTypeDefinition.java
1 /*
2  * Copyright (c) 2013 Cisco Systems, Inc. and others.  All rights reserved.
3  *
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
7  */
8 package org.opendaylight.yangtools.yang.model.api.type;
9
10 import java.util.List;
11
12 import org.opendaylight.yangtools.yang.model.api.TypeDefinition;
13
14 /**
15  * 
16  * Contains the method for getting detail data about unsigned integer.
17  * 
18  * Specifically it is the method for getting the range value.
19  * 
20  */
21 public interface UnsignedIntegerTypeDefinition extends TypeDefinition<UnsignedIntegerTypeDefinition> {
22
23     /**
24      * Returns range data of the instance of the type
25      * <code>UnsignedIntegerTypeDefinition</code>.
26      * 
27      * @return list of <code>RangeConstraint</code> which represents the YANG
28      *         <code>range</code> substatement arguments.
29      */
30     List<RangeConstraint> getRangeConstraints();
31 }