public interface DataTreeWriteCursor extends DataTreeCursor
In addition this cursor also provides write operations(delete, merge, write).
Modifier and Type | Method and Description |
---|---|
void |
delete(@NonNull InstanceIdentifier.PathArgument child)
Delete the specified child.
|
<T extends DataObject> |
merge(@NonNull InstanceIdentifier.PathArgument child,
T data)
Merge the specified data with the currently-present data at specified path.
|
<T extends DataObject> |
write(@NonNull InstanceIdentifier.PathArgument child,
T data)
Replace the data at specified path with supplied data.
|
void delete(@NonNull InstanceIdentifier.PathArgument child)
child
- Child identifierorg.opendaylight.yangtools.yang.data.api.schema.tree.BackendFailedException
- when implementation-specific errors occurs while servicing the
request.<T extends DataObject> void merge(@NonNull InstanceIdentifier.PathArgument child, T data)
child
- 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 DataObject> void write(@NonNull InstanceIdentifier.PathArgument child, T data)
child
- 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.