Bulk-add copyright headers to java files
[controller.git] / opendaylight / md-sal / sal-rest-connector / src / main / java / org / opendaylight / controller / sal / restconf / impl / InstanceIdWithSchemaNode.java
1 /*
2  * Copyright (c) 2014 Cisco Systems, Inc. and others.  All rights reserved.
3  *
4  * This program and the accompanying materials are made available under the
5  * terms of the Eclipse Public License v1.0 which accompanies this distribution,
6  * and is available at http://www.eclipse.org/legal/epl-v10.html
7  */
8 package org.opendaylight.controller.sal.restconf.impl;
9
10 import org.opendaylight.controller.sal.core.api.mount.MountInstance;
11 import org.opendaylight.yangtools.yang.data.api.InstanceIdentifier;
12 import org.opendaylight.yangtools.yang.model.api.DataSchemaNode;
13
14 public class InstanceIdWithSchemaNode {
15
16     private final InstanceIdentifier instanceIdentifier;
17     private final DataSchemaNode schemaNode;
18     private final MountInstance mountPoint;
19
20     public InstanceIdWithSchemaNode(InstanceIdentifier instanceIdentifier, DataSchemaNode schemaNode, MountInstance mountPoint) {
21         this.instanceIdentifier = instanceIdentifier;
22         this.schemaNode = schemaNode;
23         this.mountPoint = mountPoint;
24     }
25
26     public InstanceIdentifier getInstanceIdentifier() {
27         return instanceIdentifier;
28     }
29
30     public DataSchemaNode getSchemaNode() {
31         return schemaNode;
32     }
33
34     public MountInstance getMountPoint() {
35         return mountPoint;
36     }
37
38 }