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 long |
adjustInterval |
protected Percentage |
adjustThreshold |
protected boolean |
enabled |
protected BandwidthKbps |
maxBw |
protected BandwidthKbps |
minBw |
protected BitSet |
valueLeafFlags |
| Constructor and Description |
|---|
DefaultState()
Creates an instance of defaultState.
|
| Modifier and Type | Method and Description |
|---|---|
long |
adjustInterval()
Returns the attribute adjustInterval.
|
void |
adjustInterval(long adjustInterval)
Sets the attribute adjustInterval.
|
Percentage |
adjustThreshold()
Returns the attribute adjustThreshold.
|
void |
adjustThreshold(Percentage adjustThreshold)
Sets the attribute adjustThreshold.
|
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.
|
BandwidthKbps |
maxBw()
Returns the attribute maxBw.
|
void |
maxBw(BandwidthKbps maxBw)
Sets the attribute maxBw.
|
BandwidthKbps |
minBw()
Returns the attribute minBw.
|
void |
minBw(BandwidthKbps minBw)
Sets the attribute minBw.
|
String |
toString() |
BitSet |
valueLeafFlags()
Returns the attribute valueLeafFlags.
|
addAugmentation, augmentation, augmentations, removeAugmentationprotected boolean enabled
protected BandwidthKbps minBw
protected BandwidthKbps maxBw
protected long adjustInterval
protected Percentage adjustThreshold
protected BitSet valueLeafFlags
public boolean enabled()
Statepublic BandwidthKbps minBw()
Statepublic BandwidthKbps maxBw()
Statepublic long adjustInterval()
StateadjustInterval in interface Statepublic Percentage adjustThreshold()
StateadjustThreshold in interface Statepublic BitSet valueLeafFlags()
StatevalueLeafFlags in interface Statepublic void enabled(boolean enabled)
Statepublic void minBw(BandwidthKbps minBw)
Statepublic void maxBw(BandwidthKbps maxBw)
Statepublic void adjustInterval(long adjustInterval)
StateadjustInterval in interface StateadjustInterval - value of adjustIntervalpublic void adjustThreshold(Percentage adjustThreshold)
StateadjustThreshold in interface StateadjustThreshold - value of adjustThresholdpublic boolean isLeafValueSet(State.LeafIdentifier leaf)
StateisLeafValueSet in interface Stateleaf - leaf whose value status needs to checkedCopyright © 2018. All rights reserved.