Bulk-add copyright headers to java files
[controller.git] / opendaylight / md-sal / sal-rest-connector / src / main / java / org / opendaylight / controller / sal / restconf / impl / StructuredData.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.CompositeNode;
12 import org.opendaylight.yangtools.yang.model.api.*;
13
14 public class StructuredData {
15
16     private final CompositeNode data;
17     private final DataSchemaNode schema;
18     private final MountInstance mountPoint;
19
20     public StructuredData(CompositeNode data, DataSchemaNode schema, MountInstance mountPoint) {
21         this.data = data;
22         this.schema = schema;
23         this.mountPoint = mountPoint;
24     }
25
26     public CompositeNode getData() {
27         return data;
28     }
29
30     public DataSchemaNode getSchema() {
31         return schema;
32     }
33
34     public MountInstance getMountPoint() {
35         return mountPoint;
36     }
37 }