X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?p=controller.git;a=blobdiff_plain;f=opendaylight%2Fmd-sal%2Fsal-rest-connector%2Fsrc%2Fmain%2Fjava%2Forg%2Fopendaylight%2Fcontroller%2Fsal%2Frestconf%2Fimpl%2FStructuredData.java;h=8c344a79dad8cde5a8cdffa522d02c128d6a9851;hp=62a9ae05814b3a2d7a7d259c0811d484c580f99e;hb=9303b14b9dba1a940f0d0a6fe1604bfcd0f9e294;hpb=df1eef1a88c6e96aac7071cae97c4ae41ea72b1d diff --git a/opendaylight/md-sal/sal-rest-connector/src/main/java/org/opendaylight/controller/sal/restconf/impl/StructuredData.java b/opendaylight/md-sal/sal-rest-connector/src/main/java/org/opendaylight/controller/sal/restconf/impl/StructuredData.java index 62a9ae0581..8c344a79da 100644 --- a/opendaylight/md-sal/sal-rest-connector/src/main/java/org/opendaylight/controller/sal/restconf/impl/StructuredData.java +++ b/opendaylight/md-sal/sal-rest-connector/src/main/java/org/opendaylight/controller/sal/restconf/impl/StructuredData.java @@ -1,5 +1,13 @@ +/* + * Copyright (c) 2014 Cisco Systems, Inc. and others. All rights reserved. + * + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License v1.0 which accompanies this distribution, + * and is available at http://www.eclipse.org/legal/epl-v10.html + */ package org.opendaylight.controller.sal.restconf.impl; +import org.opendaylight.controller.sal.core.api.mount.MountInstance; import org.opendaylight.yangtools.yang.data.api.CompositeNode; import org.opendaylight.yangtools.yang.model.api.*; @@ -7,10 +15,12 @@ public class StructuredData { private final CompositeNode data; private final DataSchemaNode schema; + private final MountInstance mountPoint; - public StructuredData(CompositeNode data, DataSchemaNode schema) { + public StructuredData(CompositeNode data, DataSchemaNode schema, MountInstance mountPoint) { this.data = data; this.schema = schema; + this.mountPoint = mountPoint; } public CompositeNode getData() { @@ -20,4 +30,8 @@ public class StructuredData { public DataSchemaNode getSchema() { return schema; } + + public MountInstance getMountPoint() { + return mountPoint; + } }