public class DefaultTrafficProtection extends org.onosproject.yang.model.InnerModelObject implements TrafficProtection
valueLeafFlags identify the leafs whose value are explicitly set Applicable in protocol edit and query operation.
org.onosproject.yang.model.ModelObject.ModelObjectTypeTrafficProtection.LeafIdentifier| Modifier and Type | Field and Description |
|---|---|
protected boolean |
enabled |
protected BitSet |
valueLeafFlags |
| Constructor and Description |
|---|
DefaultTrafficProtection()
Creates an instance of defaultTrafficProtection.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
enabled()
Returns the attribute enabled.
|
void |
enabled(boolean enabled)
Sets the attribute enabled.
|
boolean |
equals(Object obj) |
int |
hashCode() |
boolean |
isLeafValueSet(TrafficProtection.LeafIdentifier leaf)
Checks if the leaf value is set.
|
String |
toString() |
BitSet |
valueLeafFlags()
Returns the attribute valueLeafFlags.
|
addAugmentation, augmentation, augmentations, removeAugmentationprotected boolean enabled
protected BitSet valueLeafFlags
public DefaultTrafficProtection()
public boolean enabled()
TrafficProtectionenabled in interface TrafficProtectionpublic BitSet valueLeafFlags()
TrafficProtectionvalueLeafFlags in interface TrafficProtectionpublic void enabled(boolean enabled)
TrafficProtectionenabled in interface TrafficProtectionenabled - value of enabledpublic boolean isLeafValueSet(TrafficProtection.LeafIdentifier leaf)
TrafficProtectionisLeafValueSet in interface TrafficProtectionleaf - leaf whose value status needs to checkedCopyright © 2018. All rights reserved.