Merge "Switch to using yangtools version of mockito-configuration"
[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.controller.sal.core.api.mount.MountInstance;
4 import org.opendaylight.yangtools.yang.data.api.InstanceIdentifier;
5 import org.opendaylight.yangtools.yang.model.api.DataSchemaNode;
6
7 public class InstanceIdWithSchemaNode {
8
9     private final InstanceIdentifier instanceIdentifier;
10     private final DataSchemaNode schemaNode;
11     private final MountInstance mountPoint;
12
13     public InstanceIdWithSchemaNode(InstanceIdentifier instanceIdentifier, DataSchemaNode schemaNode, MountInstance mountPoint) {
14         this.instanceIdentifier = instanceIdentifier;
15         this.schemaNode = schemaNode;
16         this.mountPoint = mountPoint;
17     }
18
19     public InstanceIdentifier getInstanceIdentifier() {
20         return instanceIdentifier;
21     }
22
23     public DataSchemaNode getSchemaNode() {
24         return schemaNode;
25     }
26
27     public MountInstance getMountPoint() {
28         return mountPoint;
29     }
30
31 }