Add rename notes for Any{Data,Xml}SchemaNode
[yangtools.git] / yang / yang-model-api / src / main / java / org / opendaylight / yangtools / yang / model / api / AnyDataSchemaNode.java
index 6859ed7f5f3536a11841c5a4b004a46ffbdca293..0ba7cfaee3afe70414829ac8f053428123be8000 100644 (file)
@@ -5,7 +5,6 @@
  * 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;
 
 import com.google.common.annotations.Beta;
@@ -21,8 +20,9 @@ import java.util.Optional;
  * model for anydata content to become known through protocol signaling or other means that are outside the scope
  * of this document.
  */
+// FIXME: 4.0.0: rename this to 'AnydataSchemaNode'
 @Beta
-public interface AnyDataSchemaNode extends DataSchemaNode, MandatoryAware {
+public interface AnyDataSchemaNode extends DataSchemaNode, MandatoryAware, MustConstraintAware {
     /**
      * Schema of data.
      *