Adding resources for a testing
[controller.git] / opendaylight / md-sal / sal-rest-connector / src / main / java / org / opendaylight / controller / sal / restconf / impl / InstanceIdWithSchemaNode.java
1 package org.opendaylight.controller.sal.restconf.impl;
2
3 import org.opendaylight.yangtools.yang.data.api.InstanceIdentifier;
4 import org.opendaylight.yangtools.yang.model.api.DataSchemaNode;
5
6 public class InstanceIdWithSchemaNode {
7     
8     private final InstanceIdentifier instanceIdentifier;
9     private final DataSchemaNode schemaNode;
10     
11     public InstanceIdWithSchemaNode(InstanceIdentifier instanceIdentifier, DataSchemaNode schemaNode) {
12         this.instanceIdentifier = instanceIdentifier;
13         this.schemaNode = schemaNode;
14     }
15
16     public InstanceIdentifier getInstanceIdentifier() {
17         return instanceIdentifier;
18     }
19
20     public DataSchemaNode getSchemaNode() {
21         return schemaNode;
22     }
23     
24 }