public class DefaultRecovery extends org.onosproject.yang.model.InnerModelObject implements Recovery
valueLeafFlags identify the leafs whose value are explicitly set Applicable in protocol edit and query operation.
org.onosproject.yang.model.ModelObject.ModelObjectTypeRecovery.LeafIdentifier| Modifier and Type | Field and Description |
|---|---|
protected TeRecoveryStatus |
protectionStatus |
protected TeRecoveryStatus |
restorationStatus |
protected BitSet |
valueLeafFlags |
| Constructor and Description |
|---|
DefaultRecovery()
Creates an instance of defaultRecovery.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
int |
hashCode() |
boolean |
isLeafValueSet(Recovery.LeafIdentifier leaf)
Checks if the leaf value is set.
|
TeRecoveryStatus |
protectionStatus()
Returns the attribute protectionStatus.
|
void |
protectionStatus(TeRecoveryStatus protectionStatus)
Sets the attribute protectionStatus.
|
TeRecoveryStatus |
restorationStatus()
Returns the attribute restorationStatus.
|
void |
restorationStatus(TeRecoveryStatus restorationStatus)
Sets the attribute restorationStatus.
|
String |
toString() |
BitSet |
valueLeafFlags()
Returns the attribute valueLeafFlags.
|
addAugmentation, augmentation, augmentations, removeAugmentationprotected TeRecoveryStatus restorationStatus
protected TeRecoveryStatus protectionStatus
protected BitSet valueLeafFlags
public TeRecoveryStatus restorationStatus()
RecoveryrestorationStatus in interface Recoverypublic TeRecoveryStatus protectionStatus()
RecoveryprotectionStatus in interface Recoverypublic BitSet valueLeafFlags()
RecoveryvalueLeafFlags in interface Recoverypublic void restorationStatus(TeRecoveryStatus restorationStatus)
RecoveryrestorationStatus in interface RecoveryrestorationStatus - value of restorationStatuspublic void protectionStatus(TeRecoveryStatus protectionStatus)
RecoveryprotectionStatus in interface RecoveryprotectionStatus - value of protectionStatuspublic boolean isLeafValueSet(Recovery.LeafIdentifier leaf)
RecoveryisLeafValueSet in interface Recoveryleaf - leaf whose value status needs to checkedCopyright © 2017. All rights reserved.