Fixed bugs in naming conventions of packages.
[controller.git] / opendaylight / sal / yang-prototype / yang / yang-model-api / src / main / java / org / opendaylight / controller / yang / model / api / type / DecimalTypeDefinition.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.controller.yang.model.api.type;
9
10 import java.util.List;
11
12 import org.opendaylight.controller.yang.model.api.TypeDefinition;
13
14 public interface DecimalTypeDefinition extends
15         TypeDefinition<DecimalTypeDefinition> {
16
17     List<RangeConstraint> getRangeStatements();
18
19     /**
20      * Returns integer between 1 and 18 inclusively. <br>
21      * <br>
22      * 
23      * The "fraction-digits" statement controls the size of the minimum
24      * difference between values of a decimal64 type, by restricting the value
25      * space to numbers that are expressible as "i x 10^-n" where n is the
26      * fraction-digits argument.
27      * 
28      * @return
29      */
30     Integer getFractionDigits();
31 }