public interface YangPatch extends DataObject
This class represents the following YANG schema fragment defined in module ietf-restconf
grouping yang-patch { container yang-patch { leaf patch-id { type string; } leaf comment { type string { length "0 .. 1024"; } } 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
Modifier and Type | Field and Description |
---|---|
static org.opendaylight.yangtools.yang.common.QName |
QNAME |
Modifier and Type | Method and Description |
---|---|
YangPatch |
getYangPatch()
Represents a conceptual sequence of datastore edits,called a patch.
|
getImplementedInterface
YangPatch getYangPatch()
org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.restconf.rev131019.yang.patch.YangPatch
yangPatch
, or null
if not presentCopyright © 2019 OpenDaylight. All rights reserved.