Adding resources for a testing
[controller.git] / opendaylight / md-sal / sal-rest-connector / src / main / java / org / opendaylight / controller / sal / restconf / impl / InstanceIdWithSchemaNode.java
diff --git a/opendaylight/md-sal/sal-rest-connector/src/main/java/org/opendaylight/controller/sal/restconf/impl/InstanceIdWithSchemaNode.java b/opendaylight/md-sal/sal-rest-connector/src/main/java/org/opendaylight/controller/sal/restconf/impl/InstanceIdWithSchemaNode.java
new file mode 100644 (file)
index 0000000..dd03b78
--- /dev/null
@@ -0,0 +1,24 @@
+package org.opendaylight.controller.sal.restconf.impl;
+
+import org.opendaylight.yangtools.yang.data.api.InstanceIdentifier;
+import org.opendaylight.yangtools.yang.model.api.DataSchemaNode;
+
+public class InstanceIdWithSchemaNode {
+    
+    private final InstanceIdentifier instanceIdentifier;
+    private final DataSchemaNode schemaNode;
+    
+    public InstanceIdWithSchemaNode(InstanceIdentifier instanceIdentifier, DataSchemaNode schemaNode) {
+        this.instanceIdentifier = instanceIdentifier;
+        this.schemaNode = schemaNode;
+    }
+
+    public InstanceIdentifier getInstanceIdentifier() {
+        return instanceIdentifier;
+    }
+
+    public DataSchemaNode getSchemaNode() {
+        return schemaNode;
+    }
+    
+}