X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=binding%2Fyang-binding%2Fsrc%2Fmain%2Fjava%2Forg%2Fopendaylight%2Fyangtools%2Fyang%2Fbinding%2FNotification.java;h=962cb88946d0e30a74aca5ef3d371e4aa9756b03;hb=5c66f6261492dbdae024d2979393bf8399ddaf9f;hp=0d7c6ae38771d204b0e18973fd056487025a55cd;hpb=992122145777924ad5b3a52da65188d8a91b8246;p=mdsal.git diff --git a/binding/yang-binding/src/main/java/org/opendaylight/yangtools/yang/binding/Notification.java b/binding/yang-binding/src/main/java/org/opendaylight/yangtools/yang/binding/Notification.java index 0d7c6ae387..962cb88946 100644 --- a/binding/yang-binding/src/main/java/org/opendaylight/yangtools/yang/binding/Notification.java +++ b/binding/yang-binding/src/main/java/org/opendaylight/yangtools/yang/binding/Notification.java @@ -8,10 +8,12 @@ package org.opendaylight.yangtools.yang.binding; /** - * 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. + * 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 { - +public non-sealed interface Notification & DataObject> extends BaseNotification { + @Override + Class implementedInterface(); }