Rename DOMDataBrokerExtension to DOMDataBroker.Extension
[mdsal.git] / dom / mdsal-dom-api / src / main / java / org / opendaylight / mdsal / dom / api / DOMNotification.java
index 675e1e286904ea1c1241a5d4e5d116221e824fee..9d2c58c5ba7e41bf0c285e069efb868980476ba7 100644 (file)
@@ -9,7 +9,7 @@ package org.opendaylight.mdsal.dom.api;
 
 import org.eclipse.jdt.annotation.NonNull;
 import org.opendaylight.yangtools.yang.data.api.schema.ContainerNode;
-import org.opendaylight.yangtools.yang.model.api.SchemaPath;
+import org.opendaylight.yangtools.yang.model.api.stmt.SchemaNodeIdentifier.Absolute;
 
 /**
  * A single YANG notification. This interface captures the data portion of a notification. Implementations may choose
@@ -23,7 +23,7 @@ public interface DOMNotification {
      *
      * @return Notification type.
      */
-    @NonNull SchemaPath getType();
+    @NonNull Absolute getType();
 
     /**
      * Return the body of this notification.