public class DefaultTop extends org.onosproject.yang.model.InnerModelObject implements Top
valueLeafFlags identify the leafs whose value are explicitly set Applicable in protocol edit and query operation.
org.onosproject.yang.model.ModelObject.ModelObjectTypeTop.LeafIdentifier| Modifier and Type | Field and Description |
|---|---|
protected List<String> |
color |
protected String |
mtu |
protected BitSet |
valueLeafFlags |
protected List<YangAutoPrefixInterface> |
yangAutoPrefixInterface |
| Constructor and Description |
|---|
DefaultTop()
Creates an instance of defaultTop.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addToColor(String addTo)
Adds to the list of color.
|
void |
addToYangAutoPrefixInterface(YangAutoPrefixInterface addTo)
Adds to the list of yangAutoPrefixInterface.
|
List<String> |
color()
Returns the attribute color.
|
void |
color(List<String> color)
Sets the attribute color.
|
boolean |
equals(Object obj) |
int |
hashCode() |
boolean |
isLeafValueSet(Top.LeafIdentifier leaf)
Checks if the leaf value is set.
|
String |
mtu()
Returns the attribute mtu.
|
void |
mtu(String mtu)
Sets the attribute mtu.
|
String |
toString() |
BitSet |
valueLeafFlags()
Returns the attribute valueLeafFlags.
|
List<YangAutoPrefixInterface> |
yangAutoPrefixInterface()
Returns the attribute yangAutoPrefixInterface.
|
void |
yangAutoPrefixInterface(List<YangAutoPrefixInterface> yangAutoPrefixInterface)
Sets the attribute yangAutoPrefixInterface.
|
addAugmentation, augmentation, augmentations, removeAugmentationprotected String mtu
protected BitSet valueLeafFlags
protected List<YangAutoPrefixInterface> yangAutoPrefixInterface
public List<String> color()
Toppublic BitSet valueLeafFlags()
TopvalueLeafFlags in interface Toppublic List<YangAutoPrefixInterface> yangAutoPrefixInterface()
TopyangAutoPrefixInterface in interface Toppublic void color(List<String> color)
Toppublic void yangAutoPrefixInterface(List<YangAutoPrefixInterface> yangAutoPrefixInterface)
TopyangAutoPrefixInterface in interface TopyangAutoPrefixInterface - list of yangAutoPrefixInterfacepublic void addToColor(String addTo)
TopaddToColor in interface TopaddTo - value of colorpublic void addToYangAutoPrefixInterface(YangAutoPrefixInterface addTo)
TopaddToYangAutoPrefixInterface in interface TopaddTo - value of yangAutoPrefixInterfacepublic boolean isLeafValueSet(Top.LeafIdentifier leaf)
TopisLeafValueSet in interface Topleaf - leaf whose value status needs to checkedCopyright © 2018. All rights reserved.