X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=opendaylight%2Fmd-sal%2Fsal-rest-connector%2Fsrc%2Fmain%2Fjava%2Forg%2Fopendaylight%2Fcontroller%2Fsal%2Frestconf%2Fimpl%2FNodeWrapper.java;h=48fd1a3dfc49e4abf6d22ae040cf504781ff0bc8;hb=48814d6a264b8f13e5db1422336d9ef25cb05fa9;hp=db7770fc68797504dc969a89eaddda832aa5c1d4;hpb=4f4df9918bc2d1447393edac6fbf3a2d4f9d9186;p=controller.git diff --git a/opendaylight/md-sal/sal-rest-connector/src/main/java/org/opendaylight/controller/sal/restconf/impl/NodeWrapper.java b/opendaylight/md-sal/sal-rest-connector/src/main/java/org/opendaylight/controller/sal/restconf/impl/NodeWrapper.java index db7770fc68..48fd1a3dfc 100644 --- a/opendaylight/md-sal/sal-rest-connector/src/main/java/org/opendaylight/controller/sal/restconf/impl/NodeWrapper.java +++ b/opendaylight/md-sal/sal-rest-connector/src/main/java/org/opendaylight/controller/sal/restconf/impl/NodeWrapper.java @@ -1,20 +1,30 @@ +/* + * 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 java.net.URI; import org.opendaylight.yangtools.yang.common.QName; -import org.opendaylight.yangtools.yang.data.api.CompositeNode; import org.opendaylight.yangtools.yang.data.api.Node; public interface NodeWrapper> { void setQname(QName name); - - T unwrap(CompositeNode parent); - + + QName getQname(); + + T unwrap(); + + boolean isChangeAllowed(); + URI getNamespace(); void setNamespace(URI namespace); - + String getLocalName(); -} \ No newline at end of file +}