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 short |
preference |
protected Schedules |
schedules |
protected BitSet |
valueLeafFlags |
| Constructor and Description |
|---|
DefaultState()
Creates an instance of defaultState.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
int |
hashCode() |
boolean |
isLeafValueSet(State.LeafIdentifier leaf)
Checks if the leaf value is set.
|
short |
preference()
Returns the attribute preference.
|
void |
preference(short preference)
Sets the attribute preference.
|
Schedules |
schedules()
Returns the attribute schedules.
|
void |
schedules(Schedules schedules)
Sets the attribute schedules.
|
String |
toString() |
BitSet |
valueLeafFlags()
Returns the attribute valueLeafFlags.
|
addAugmentation, augmentation, augmentations, removeAugmentationprotected short preference
protected BitSet valueLeafFlags
protected Schedules schedules
public short preference()
Statepreference in interface Statepublic BitSet valueLeafFlags()
StatevalueLeafFlags in interface Statepublic Schedules schedules()
Statepublic void preference(short preference)
Statepreference in interface Statepreference - value of preferencepublic void schedules(Schedules schedules)
Statepublic boolean isLeafValueSet(State.LeafIdentifier leaf)
StateisLeafValueSet in interface Stateleaf - leaf whose value status needs to checkedCopyright © 2018. All rights reserved.