BUG-865: deprecate pre-Beryllium parser elements
[yangtools.git] / yang / yang-parser-impl / src / main / java / org / opendaylight / yangtools / yang / parser / builder / api / TypeDefinitionBuilder.java
index 068130fbf80ddfd4363a59d2ce447f08cc4cd89f..e6b6499f913a4a615050105653be2e12429790c5 100644 (file)
@@ -1,5 +1,6 @@
 /*
- * Copyright (c) 2013 Cisco Systems, Inc. and others. All rights reserved.
+ * 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
@@ -15,7 +16,10 @@ import org.opendaylight.yangtools.yang.model.api.type.RangeConstraint;
 
 /**
  * Interface for builders of 'typedef' statement.
+ *
+ * @deprecated Pre-Beryllium implementation, scheduled for removal.
  */
+@Deprecated
 public interface TypeDefinitionBuilder extends TypeAwareBuilder, SchemaNodeBuilder, GroupingMember {
 
     /**
@@ -88,6 +92,8 @@ public interface TypeDefinitionBuilder extends TypeAwareBuilder, SchemaNodeBuild
     /**
      * Sets fractions digits of resulting type if it is derived from
      * <code>decimal</code> built-in type.
+     *
+     * @param fractionDigits fraction digits
      */
     void setFractionDigits(Integer fractionDigits);