--- /dev/null
+/*\r
+ * Copyright (c) 2013 Cisco Systems, Inc. and others. All rights reserved.\r
+ *\r
+ * This program and the accompanying materials are made available under the\r
+ * terms of the Eclipse Public License v1.0 which accompanies this distribution,\r
+ * and is available at http://www.eclipse.org/legal/epl-v10.html\r
+ */\r
+package org.opendaylight.controller.model.api.type;\r
+\r
+import java.util.List;\r
+\r
+import org.opendaylight.controller.yang.model.api.TypeDefinition;\r
+\r
+public interface DecimalTypeDefinition extends\r
+ TypeDefinition<DecimalTypeDefinition> {\r
+\r
+ List<RangeConstraint> getRangeStatements();\r
+\r
+ /**\r
+ * Returns integer between 1 and 18 inclusively. <br>\r
+ * <br>\r
+ * \r
+ * The "fraction-digits" statement controls the size of the minimum\r
+ * difference between values of a decimal64 type, by restricting the value\r
+ * space to numbers that are expressible as "i x 10^-n" where n is the\r
+ * fraction-digits argument.\r
+ * \r
+ * @return\r
+ */\r
+ Integer getFractionDigits();\r
+}\r