public class DefaultYangPatch extends org.onosproject.yang.model.InnerModelObject implements YangPatch
valueLeafFlags identify the leafs whose value are explicitly set Applicable in protocol edit and query operation.
org.onosproject.yang.model.ModelObject.ModelObjectTypeYangPatch.LeafIdentifier| Modifier and Type | Field and Description |
|---|---|
protected String |
comment |
protected List<Edit> |
edit |
protected String |
patchId |
protected BitSet |
valueLeafFlags |
| Constructor and Description |
|---|
DefaultYangPatch()
Creates an instance of defaultYangPatch.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addToEdit(Edit addTo)
Adds to the list of edit.
|
String |
comment()
Returns the attribute comment.
|
void |
comment(String comment)
Sets the attribute comment.
|
List<Edit> |
edit()
Returns the attribute edit.
|
void |
edit(List<Edit> edit)
Sets the attribute edit.
|
boolean |
equals(Object obj) |
int |
hashCode() |
boolean |
isLeafValueSet(YangPatch.LeafIdentifier leaf)
Checks if the leaf value is set.
|
String |
patchId()
Returns the attribute patchId.
|
void |
patchId(String patchId)
Sets the attribute patchId.
|
String |
toString() |
BitSet |
valueLeafFlags()
Returns the attribute valueLeafFlags.
|
addAugmentation, augmentation, augmentations, removeAugmentationprotected String patchId
protected String comment
protected BitSet valueLeafFlags
public DefaultYangPatch()
public String patchId()
YangPatchpublic String comment()
YangPatchpublic BitSet valueLeafFlags()
YangPatchvalueLeafFlags in interface YangPatchpublic List<Edit> edit()
YangPatchpublic void patchId(String patchId)
YangPatchpublic void comment(String comment)
YangPatchpublic void edit(List<Edit> edit)
YangPatchpublic void addToEdit(Edit addTo)
YangPatchpublic boolean isLeafValueSet(YangPatch.LeafIdentifier leaf)
YangPatchisLeafValueSet in interface YangPatchleaf - leaf whose value status needs to checkedCopyright © 2018. All rights reserved.