/*
* Copyright (c) 2013 Cisco Systems, Inc. and others. All rights reserved.
*
* This program and the accompanying materials are made available under the
* terms of the Eclipse Public License v1.0 which accompanies this distribution,
* and is available at http://www.eclipse.org/legal/epl-v10.html
*/
package org.opendaylight.yangtools.yang.model.api.type;
import java.util.List;
import javax.annotation.Nonnull;
import org.opendaylight.yangtools.yang.model.api.TypeDefinition;
/**
* Contains the method for getting detail data about unsigned integer.
*
* Specifically it is the method for getting the range value.
*/
public interface UnsignedIntegerTypeDefinition extends TypeDefinition<UnsignedIntegerTypeDefinition> {
/**
* Returns range data of the instance of the type
* <code>UnsignedIntegerTypeDefinition</code>. These are the effective constraints, e.g. they include
* any range constraints imposed by base types.
*
* @return list of <code>RangeConstraint</code> which represents the YANG
* <code>range</code> substatement arguments.
*/
@Nonnull List<RangeConstraint> getRangeConstraints();
}