Update MRI projects for Aluminium
[netconf.git] / restconf / restconf-common / src / main / java / org / opendaylight / restconf / common / context / InstanceIdentifierContext.java
index ed829fbd5d5a581134fdf65a8c3ef2df91d8579c..526542ce2c5a61307880b51d9e762e4b4be92573 100644 (file)
@@ -7,9 +7,9 @@
  */
 package org.opendaylight.restconf.common.context;
 
-import org.opendaylight.controller.md.sal.dom.api.DOMMountPoint;
+import org.opendaylight.mdsal.dom.api.DOMMountPoint;
 import org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier;
-import org.opendaylight.yangtools.yang.model.api.SchemaContext;
+import org.opendaylight.yangtools.yang.model.api.EffectiveModelContext;
 import org.opendaylight.yangtools.yang.model.api.SchemaNode;
 
 public class InstanceIdentifierContext<T extends SchemaNode> {
@@ -17,10 +17,10 @@ public class InstanceIdentifierContext<T extends SchemaNode> {
     private final YangInstanceIdentifier instanceIdentifier;
     private final T schemaNode;
     private final DOMMountPoint mountPoint;
-    private final SchemaContext schemaContext;
+    private final EffectiveModelContext schemaContext;
 
     public InstanceIdentifierContext(final YangInstanceIdentifier instanceIdentifier, final T schemaNode,
-            final DOMMountPoint mountPoint,final SchemaContext context) {
+            final DOMMountPoint mountPoint, final EffectiveModelContext context) {
         this.instanceIdentifier = instanceIdentifier;
         this.schemaNode = schemaNode;
         this.mountPoint = mountPoint;
@@ -39,8 +39,7 @@ public class InstanceIdentifierContext<T extends SchemaNode> {
         return mountPoint;
     }
 
-    public SchemaContext getSchemaContext() {
+    public EffectiveModelContext getSchemaContext() {
         return schemaContext;
     }
-
 }