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
14 public interface DecimalTypeDefinition extends
\r
15 TypeDefinition<DecimalTypeDefinition> {
\r
17 List<RangeConstraint> getRangeStatements();
\r
20 * Returns integer between 1 and 18 inclusively. <br>
\r
23 * The "fraction-digits" statement controls the size of the minimum
\r
24 * difference between values of a decimal64 type, by restricting the value
\r
25 * space to numbers that are expressible as "i x 10^-n" where n is the
\r
26 * fraction-digits argument.
\r
30 Integer getFractionDigits();
\r