public class DefaultAsNumber extends org.onosproject.yang.model.InnerModelObject implements AsNumber
valueLeafFlags identify the leafs whose value are explicitly set Applicable in protocol edit and query operation.
org.onosproject.yang.model.ModelObject.ModelObjectTypeAsNumber.LeafIdentifier| Modifier and Type | Field and Description |
|---|---|
protected int |
asNumber |
protected BitSet |
valueLeafFlags |
| Constructor and Description |
|---|
DefaultAsNumber()
Creates an instance of defaultAsNumber.
|
| Modifier and Type | Method and Description |
|---|---|
int |
asNumber()
Returns the attribute asNumber.
|
void |
asNumber(int asNumber)
Sets the attribute asNumber.
|
boolean |
equals(Object obj) |
int |
hashCode() |
boolean |
isLeafValueSet(AsNumber.LeafIdentifier leaf)
Checks if the leaf value is set.
|
String |
toString() |
BitSet |
valueLeafFlags()
Returns the attribute valueLeafFlags.
|
protected int asNumber
protected BitSet valueLeafFlags
public int asNumber()
AsNumberpublic BitSet valueLeafFlags()
AsNumbervalueLeafFlags in interface AsNumberpublic void asNumber(int asNumber)
AsNumberpublic boolean isLeafValueSet(AsNumber.LeafIdentifier leaf)
AsNumberisLeafValueSet in interface AsNumberleaf - leaf whose value status needs to checkedCopyright © 2017. All rights reserved.