public class DefaultConfig extends org.onosproject.yang.model.InnerModelObject implements Config
valueLeafFlags identify the leafs whose value are explicitly set Applicable in protocol edit and query operation.
org.onosproject.yang.model.ModelObject.ModelObjectTypeConfig.LeafIdentifier| Modifier and Type | Field and Description |
|---|---|
protected boolean |
enabled |
protected Percentage |
overflowThreshold |
protected int |
triggerEventCount |
protected BitSet |
valueLeafFlags |
| Constructor and Description |
|---|
DefaultConfig()
Creates an instance of defaultConfig.
|
| 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(Config.LeafIdentifier leaf)
Checks if the leaf value is set.
|
Percentage |
overflowThreshold()
Returns the attribute overflowThreshold.
|
void |
overflowThreshold(Percentage overflowThreshold)
Sets the attribute overflowThreshold.
|
String |
toString() |
int |
triggerEventCount()
Returns the attribute triggerEventCount.
|
void |
triggerEventCount(int triggerEventCount)
Sets the attribute triggerEventCount.
|
BitSet |
valueLeafFlags()
Returns the attribute valueLeafFlags.
|
addAugmentation, augmentation, augmentations, removeAugmentationprotected boolean enabled
protected Percentage overflowThreshold
protected int triggerEventCount
protected BitSet valueLeafFlags
public boolean enabled()
Configpublic Percentage overflowThreshold()
ConfigoverflowThreshold in interface Configpublic int triggerEventCount()
ConfigtriggerEventCount in interface Configpublic BitSet valueLeafFlags()
ConfigvalueLeafFlags in interface Configpublic void enabled(boolean enabled)
Configpublic void overflowThreshold(Percentage overflowThreshold)
ConfigoverflowThreshold in interface ConfigoverflowThreshold - value of overflowThresholdpublic void triggerEventCount(int triggerEventCount)
ConfigtriggerEventCount in interface ConfigtriggerEventCount - value of triggerEventCountpublic boolean isLeafValueSet(Config.LeafIdentifier leaf)
ConfigisLeafValueSet in interface Configleaf - leaf whose value status needs to checkedCopyright © 2018. All rights reserved.