public class DefaultAddress extends org.onosproject.yang.model.InnerModelObject implements Address
valueLeafFlags identify the leafs whose value are explicitly set Applicable in protocol edit and query operation.
org.onosproject.yang.model.ModelObject.ModelObjectTypeAddress.LeafIdentifier| Modifier and Type | Field and Description |
|---|---|
protected String |
name |
protected String |
prefixLength |
protected BitSet |
valueLeafFlags |
| Constructor and Description |
|---|
DefaultAddress()
Creates an instance of defaultAddress.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
int |
hashCode() |
boolean |
isLeafValueSet(Address.LeafIdentifier leaf)
Checks if the leaf value is set.
|
String |
name()
Returns the attribute name.
|
void |
name(String name)
Sets the attribute name.
|
String |
prefixLength()
Returns the attribute prefixLength.
|
void |
prefixLength(String prefixLength)
Sets the attribute prefixLength.
|
String |
toString() |
BitSet |
valueLeafFlags()
Returns the attribute valueLeafFlags.
|
addAugmentation, augmentation, augmentations, removeAugmentationprotected String name
protected String prefixLength
protected BitSet valueLeafFlags
public String prefixLength()
AddressprefixLength in interface Addresspublic BitSet valueLeafFlags()
AddressvalueLeafFlags in interface Addresspublic void name(String name)
Addresspublic void prefixLength(String prefixLength)
AddressprefixLength in interface AddressprefixLength - value of prefixLengthpublic boolean isLeafValueSet(Address.LeafIdentifier leaf)
AddressisLeafValueSet in interface Addressleaf - leaf whose value status needs to checkedCopyright © 2018. All rights reserved.