public class DefaultYangPatchStatus extends org.onosproject.yang.model.InnerModelObject implements YangPatchStatus
valueLeafFlags identify the leafs whose value are explicitly set Applicable in protocol edit and query operation.
org.onosproject.yang.model.ModelObject.ModelObjectTypeYangPatchStatus.LeafIdentifier| Modifier and Type | Field and Description |
|---|---|
protected EditStatus |
editStatus |
protected GlobalStatus |
globalStatus |
protected String |
patchId |
protected BitSet |
valueLeafFlags |
| Constructor and Description |
|---|
DefaultYangPatchStatus()
Creates an instance of defaultYangPatchStatus.
|
| Modifier and Type | Method and Description |
|---|---|
EditStatus |
editStatus()
Returns the attribute editStatus.
|
void |
editStatus(EditStatus editStatus)
Sets the attribute editStatus.
|
boolean |
equals(Object obj) |
GlobalStatus |
globalStatus()
Returns the attribute globalStatus.
|
void |
globalStatus(GlobalStatus globalStatus)
Sets the attribute globalStatus.
|
int |
hashCode() |
boolean |
isLeafValueSet(YangPatchStatus.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 BitSet valueLeafFlags
protected GlobalStatus globalStatus
protected EditStatus editStatus
public DefaultYangPatchStatus()
public String patchId()
YangPatchStatuspatchId in interface YangPatchStatuspublic BitSet valueLeafFlags()
YangPatchStatusvalueLeafFlags in interface YangPatchStatuspublic GlobalStatus globalStatus()
YangPatchStatusglobalStatus in interface YangPatchStatuspublic EditStatus editStatus()
YangPatchStatuseditStatus in interface YangPatchStatuspublic void patchId(String patchId)
YangPatchStatuspatchId in interface YangPatchStatuspatchId - value of patchIdpublic void globalStatus(GlobalStatus globalStatus)
YangPatchStatusglobalStatus in interface YangPatchStatusglobalStatus - value of globalStatuspublic void editStatus(EditStatus editStatus)
YangPatchStatuseditStatus in interface YangPatchStatuseditStatus - value of editStatuspublic boolean isLeafValueSet(YangPatchStatus.LeafIdentifier leaf)
YangPatchStatusisLeafValueSet in interface YangPatchStatusleaf - leaf whose value status needs to checkedCopyright © 2018. All rights reserved.