public class DefaultYangAutoPrefixInterface extends org.onosproject.yang.model.InnerModelObject implements YangAutoPrefixInterface, org.onosproject.yang.model.MultiInstanceObject<YangAutoPrefixInterfaceKeys>
valueLeafFlags identify the leafs whose value are explicitly set Applicable in protocol edit and query operation.
org.onosproject.yang.model.ModelObject.ModelObjectTypeYangAutoPrefixInterface.LeafIdentifier| Modifier and Type | Field and Description |
|---|---|
protected String |
description |
protected boolean |
enabled |
protected LinkUpDownTrapEnableEnum |
linkUpDownTrapEnable |
protected String |
name |
protected Class<? extends InterfaceType> |
type |
protected BitSet |
valueLeafFlags |
| Constructor and Description |
|---|
DefaultYangAutoPrefixInterface()
Creates an instance of defaultYangAutoPrefixInterface.
|
| Modifier and Type | Method and Description |
|---|---|
String |
description()
Returns the attribute description.
|
void |
description(String description)
Sets the attribute description.
|
boolean |
enabled()
Returns the attribute enabled.
|
void |
enabled(boolean enabled)
Sets the attribute enabled.
|
boolean |
equals(Object obj) |
int |
hashCode() |
boolean |
isLeafValueSet(YangAutoPrefixInterface.LeafIdentifier leaf)
Checks if the leaf value is set.
|
LinkUpDownTrapEnableEnum |
linkUpDownTrapEnable()
Returns the attribute linkUpDownTrapEnable.
|
void |
linkUpDownTrapEnable(LinkUpDownTrapEnableEnum linkUpDownTrapEnable)
Sets the attribute linkUpDownTrapEnable.
|
String |
name()
Returns the attribute name.
|
void |
name(String name)
Sets the attribute name.
|
String |
toString() |
Class<? extends InterfaceType> |
type()
Returns the attribute type.
|
void |
type(Class<? extends InterfaceType> type)
Sets the attribute type.
|
BitSet |
valueLeafFlags()
Returns the attribute valueLeafFlags.
|
addAugmentation, augmentation, augmentations, removeAugmentationprotected String name
protected String description
protected Class<? extends InterfaceType> type
protected boolean enabled
protected LinkUpDownTrapEnableEnum linkUpDownTrapEnable
protected BitSet valueLeafFlags
public DefaultYangAutoPrefixInterface()
public String name()
YangAutoPrefixInterfacename in interface YangAutoPrefixInterfacepublic String description()
YangAutoPrefixInterfacedescription in interface YangAutoPrefixInterfacepublic Class<? extends InterfaceType> type()
YangAutoPrefixInterfacetype in interface YangAutoPrefixInterfacepublic boolean enabled()
YangAutoPrefixInterfaceenabled in interface YangAutoPrefixInterfacepublic LinkUpDownTrapEnableEnum linkUpDownTrapEnable()
YangAutoPrefixInterfacelinkUpDownTrapEnable in interface YangAutoPrefixInterfacepublic BitSet valueLeafFlags()
YangAutoPrefixInterfacevalueLeafFlags in interface YangAutoPrefixInterfacepublic void name(String name)
YangAutoPrefixInterfacename in interface YangAutoPrefixInterfacename - value of namepublic void description(String description)
YangAutoPrefixInterfacedescription in interface YangAutoPrefixInterfacedescription - value of descriptionpublic void type(Class<? extends InterfaceType> type)
YangAutoPrefixInterfacetype in interface YangAutoPrefixInterfacetype - value of typepublic void enabled(boolean enabled)
YangAutoPrefixInterfaceenabled in interface YangAutoPrefixInterfaceenabled - value of enabledpublic void linkUpDownTrapEnable(LinkUpDownTrapEnableEnum linkUpDownTrapEnable)
YangAutoPrefixInterfacelinkUpDownTrapEnable in interface YangAutoPrefixInterfacelinkUpDownTrapEnable - value of linkUpDownTrapEnablepublic boolean isLeafValueSet(YangAutoPrefixInterface.LeafIdentifier leaf)
YangAutoPrefixInterfaceisLeafValueSet in interface YangAutoPrefixInterfaceleaf - leaf whose value status needs to checkedCopyright © 2018. All rights reserved.