public interface Edit extends ChildOf<YangPatch>, Augmentable<Edit>, Identifiable<EditKey>
This class represents the following YANG schema fragment defined in module ietf-restconf
list edit { key edit-id; ordered-by user; leaf edit-id { type string; } leaf operation { type enumeration { enum create { } enum delete { } enum insert { } enum merge { } enum move { } enum replace { } enum remove { } } } leaf target { type data-resource-identifier; } leaf point { when "(../operation = 'insert' or ../operation = 'move') and (../where = 'before' or ../where = 'after')" { } type data-resource-identifier; } leaf where { when "../operation = 'insert' or ../operation = 'move'" { } type enumeration { enum before { } enum after { } enum first { } enum last { } } default last; } anyxml value { when "(../operation = 'create' or ../operation = 'merge' or ../operation = 'replace' or ../operation = 'insert')" { } } }The schema path to identify an instance is ietf-restconf/yang-patch/yang-patch/edit
To create instances of this class use EditBuilder
.
EditBuilder
,
EditKey
Modifier and Type | Interface and Description |
---|---|
static class |
Edit.Operation |
static class |
Edit.Where |
Modifier and Type | Field and Description |
---|---|
static org.opendaylight.yangtools.yang.common.QName |
QNAME |
Modifier and Type | Method and Description |
---|---|
@Nullable String |
getEditId()
Arbitrary string index for the edit.Error messages returned by the server
pertainingto a specific edit will be identified by thisvalue.
|
@Nullable Edit.Operation |
getOperation()
The datastore operation requested for the associatededit entry
|
@Nullable DataResourceIdentifier |
getPoint()
The absolute URL path for the data node that is beingused as the insertion point
or move point for thetarget of this edit entry.
|
@Nullable DataResourceIdentifier |
getTarget()
Identifies the target data resource for the editoperation.
|
@Nullable Edit.Where |
getWhere()
Identifies where a data resource will be inserted ormoved.
|
EditKey |
key()
Returns an unique key for the object.
|
getImplementedInterface
augmentation
@Nullable String getEditId()
java.lang.String
editId
, or null
if not present@Nullable Edit.Operation getOperation()
org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.restconf.rev131019.yang.patch.yang.patch.Edit.Operation
operation
, or null
if not present@Nullable DataResourceIdentifier getTarget()
org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.restconf.rev131019.DataResourceIdentifier
target
, or null
if not present@Nullable DataResourceIdentifier getPoint()
org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.restconf.rev131019.DataResourceIdentifier
point
, or null
if not present@Nullable Edit.Where getWhere()
org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.restconf.rev131019.yang.patch.yang.patch.Edit.Where
where
, or null
if not presentEditKey key()
Identifiable
key
in interface Identifiable<EditKey>
Copyright © 2019 OpenDaylight. All rights reserved.