Add codegen support for nested notifications
[mdsal.git] / binding / yang-binding / src / main / java / org / opendaylight / yangtools / yang / binding / Notification.java
index f073fa705eca794083a7f2991971c4c3f75d03a1..2bb40f371eb53a9adf186f85653fad2f71008030 100644 (file)
@@ -8,9 +8,12 @@
 package org.opendaylight.yangtools.yang.binding;
 
 /**
- * Marker interface for YANG-defined notifications.
+ * Marker interface for YANG-defined global notifications. This interface should never be implemented directly. A
+ * concrete Notification and its implementations may choose to also extend/implement the {@link EventInstantAware}
+ * interface. In case they do, {@link EventInstantAware#eventInstant()} returns the time when this notification was
+ * generated.
  */
-public interface Notification extends DataContainer {
+// FIXME: 6.0.0: narrow implementedInterface()
+public interface Notification extends BaseNotification {
 
 }
-