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