Seal BaseNotification
[mdsal.git] / binding / yang-binding / src / main / java / org / opendaylight / yangtools / yang / binding / BaseNotification.java
index a445e418b265696dd4bd7ca20ae3ea602cad8a1b..3784f45a44dd491947e542b58205b386b0c40099 100644 (file)
@@ -12,6 +12,6 @@ package org.opendaylight.yangtools.yang.binding;
  * only to tie together semantics of global notifications (as represented by {@link Notification}) and instance
  * notifications (as represented by {@link InstanceNotification}.
  */
-public interface BaseNotification extends DataContainer {
+public sealed interface BaseNotification extends DataContainer permits Notification, InstanceNotification {
 
 }