public class DefaultState extends org.onosproject.yang.model.InnerModelObject implements State
valueLeafFlags identify the leafs whose value are explicitly set Applicable in protocol edit and query operation.
org.onosproject.yang.model.ModelObject.ModelObjectTypeState.LeafIdentifier| Modifier and Type | Field and Description |
|---|---|
protected boolean |
enabled |
protected int |
triggerEventCount |
protected Percentage |
underflowThreshold |
protected BitSet |
valueLeafFlags |
| Constructor and Description |
|---|
DefaultState()
Creates an instance of defaultState.
|
| 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(State.LeafIdentifier leaf)
Checks if the leaf value is set.
|
String |
toString() |
int |
triggerEventCount()
Returns the attribute triggerEventCount.
|
void |
triggerEventCount(int triggerEventCount)
Sets the attribute triggerEventCount.
|
Percentage |
underflowThreshold()
Returns the attribute underflowThreshold.
|
void |
underflowThreshold(Percentage underflowThreshold)
Sets the attribute underflowThreshold.
|
BitSet |
valueLeafFlags()
Returns the attribute valueLeafFlags.
|
addAugmentation, augmentation, augmentations, removeAugmentationprotected boolean enabled
protected Percentage underflowThreshold
protected int triggerEventCount
protected BitSet valueLeafFlags
public boolean enabled()
Statepublic Percentage underflowThreshold()
StateunderflowThreshold in interface Statepublic int triggerEventCount()
StatetriggerEventCount in interface Statepublic BitSet valueLeafFlags()
StatevalueLeafFlags in interface Statepublic void enabled(boolean enabled)
Statepublic void underflowThreshold(Percentage underflowThreshold)
StateunderflowThreshold in interface StateunderflowThreshold - value of underflowThresholdpublic void triggerEventCount(int triggerEventCount)
StatetriggerEventCount in interface StatetriggerEventCount - value of triggerEventCountpublic boolean isLeafValueSet(State.LeafIdentifier leaf)
StateisLeafValueSet in interface Stateleaf - leaf whose value status needs to checkedCopyright © 2018. All rights reserved.