Do not generate 'isFoo()' methods
[mdsal.git] / dom / mdsal-dom-api / src / main / java / org / opendaylight / mdsal / dom / api / DOMDataTreeWriteCursor.java
1 /*
2  * Copyright (c) 2015 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.mdsal.dom.api;
9
10 import org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier.PathArgument;
11 import org.opendaylight.yangtools.yang.data.api.schema.NormalizedNode;
12 import org.opendaylight.yangtools.yang.data.api.schema.tree.BackendFailedException;
13
14 @Deprecated(forRemoval = true)
15 public interface DOMDataTreeWriteCursor extends DOMDataTreeCursor {
16
17     /**
18      * Delete the specified child.
19      *
20      * @param child Child identifier
21      * @throws BackendFailedException when implementation-specific errors occurs while servicing the
22      *         request.
23      */
24     void delete(PathArgument child);
25
26     /**
27      * Merge the specified data with the currently-present data at specified path.
28      *
29      * @param child Child identifier
30      * @param data Data to be merged
31      * @throws BackendFailedException when implementation-specific errors occurs while servicing the
32      *         request.
33      */
34     void merge(PathArgument child, NormalizedNode<?, ?> data);
35
36     /**
37      * Replace the data at specified path with supplied data.
38      *
39      * @param child Child identifier
40      * @param data New node data
41      * @throws BackendFailedException when implementation-specific errors occurs while servicing the
42      *         request.
43      */
44     void write(PathArgument child, NormalizedNode<?, ?> data);
45 }