public class DefaultAsNumberHop extends org.onosproject.yang.model.InnerModelObject implements AsNumberHop
valueLeafFlags identify the leafs whose value are explicitly set Applicable in protocol edit and query operation.
org.onosproject.yang.model.ModelObject.ModelObjectTypeAsNumberHop.LeafIdentifier| Modifier and Type | Field and Description |
|---|---|
protected byte[] |
asNumber |
protected TeHopType |
hopType |
protected BitSet |
valueLeafFlags |
| Constructor and Description |
|---|
DefaultAsNumberHop()
Creates an instance of defaultAsNumberHop.
|
| Modifier and Type | Method and Description |
|---|---|
byte[] |
asNumber()
Returns the attribute asNumber.
|
void |
asNumber(byte[] asNumber)
Sets the attribute asNumber.
|
boolean |
equals(Object obj) |
int |
hashCode() |
TeHopType |
hopType()
Returns the attribute hopType.
|
void |
hopType(TeHopType hopType)
Sets the attribute hopType.
|
boolean |
isLeafValueSet(AsNumberHop.LeafIdentifier leaf)
Checks if the leaf value is set.
|
String |
toString() |
BitSet |
valueLeafFlags()
Returns the attribute valueLeafFlags.
|
addAugmentation, augmentation, augmentations, removeAugmentationprotected byte[] asNumber
protected TeHopType hopType
protected BitSet valueLeafFlags
public DefaultAsNumberHop()
public byte[] asNumber()
AsNumberHopasNumber in interface AsNumberHoppublic TeHopType hopType()
AsNumberHophopType in interface AsNumberHoppublic BitSet valueLeafFlags()
AsNumberHopvalueLeafFlags in interface AsNumberHoppublic void asNumber(byte[] asNumber)
AsNumberHopasNumber in interface AsNumberHopasNumber - value of asNumberpublic void hopType(TeHopType hopType)
AsNumberHophopType in interface AsNumberHophopType - value of hopTypepublic boolean isLeafValueSet(AsNumberHop.LeafIdentifier leaf)
AsNumberHopisLeafValueSet in interface AsNumberHopleaf - leaf whose value status needs to checkedCopyright © 2018. All rights reserved.