Add EventInstantAware interface
[mdsal.git] / binding / yang-binding / src / main / java / org / opendaylight / yangtools / yang / binding / Notification.java
index bba5049d2249b0a4c4634ec530084230f8a9d9f4..0d7c6ae38771d204b0e18973fd056487025a55cd 100644 (file)
@@ -8,7 +8,9 @@
 package org.opendaylight.yangtools.yang.binding;
 
 /**
- * Marker interface for YANG-defined notifications.
+ * Marker interface for YANG-defined 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 {