DeclaredStatements can contain default implementations
[yangtools.git] / yang / yang-model-api / src / main / java / org / opendaylight / yangtools / yang / model / api / stmt / NotificationStatementContainer.java
index 5d000e5627a900206e4db08e3e12b0795fcebbe6..c59afb586fe5427688442d07e7efc5d7c569f38e 100644 (file)
@@ -14,7 +14,10 @@ import javax.annotation.Nonnull;
 /**
  * Marker interface for statements which may contain a 'notification' statement, as defined in RFC7950. There is
  * a significant difference RFC6020 (YANG 1) and RFC7590 (YANG 1.1) in which statements sport this feature.
+ *
+ * @deprecated Use {@link NotificationStatementAwareDeclaredStatement} instead.
  */
+@Deprecated
 public interface NotificationStatementContainer {
     /**
      * Return collection of {@link NotificationStatement}. For RFC6020, this method returns an empty collection for