@Beta public interface DataTreeWriteCursor extends DataTreeCursor
In addition this cursor also provides write operations(delete, merge, write).
| Modifier and Type | Method and Description |
|---|---|
void |
delete(TreeArgument<?> child)
Delete the specified child.
|
<T extends TreeNode> |
merge(TreeArgument<T> child,
T data)
Merge the specified data with the currently-present data at specified path.
|
<T extends TreeNode> |
write(TreeArgument<T> child,
T data)
Replace the data at specified path with supplied data.
|
void delete(TreeArgument<?> child)
child - Child identifierorg.opendaylight.yangtools.yang.data.api.schema.tree.BackendFailedException - when implementation-specific errors occurs while servicing the
request.<T extends TreeNode> void merge(TreeArgument<T> child, T data)
T - data typechild - Child identifierdata - Data to be mergedorg.opendaylight.yangtools.yang.data.api.schema.tree.BackendFailedException - when implementation-specific errors occurs while servicing the
request.<T extends TreeNode> void write(TreeArgument<T> child, T data)
T - data typechild - Child identifierdata - New node dataorg.opendaylight.yangtools.yang.data.api.schema.tree.BackendFailedException - when implementation-specific errors occurs while servicing the
request.Copyright © 2019 OpenDaylight. All rights reserved.