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 AdminStatusEnum |
adminStatus |
protected List<String> |
higherLayerIf |
protected int |
ifIndex |
protected DateAndTime |
lastChange |
protected List<String> |
lowerLayerIf |
protected String |
name |
protected OperStatusEnum |
operStatus |
protected PhysAddress |
physAddress |
protected Gauge64 |
speed |
protected Statistics |
statistics |
protected Class<? extends InterfaceType> |
type |
protected BitSet |
valueLeafFlags |
| Constructor and Description |
|---|
DefaultYangAutoPrefixInterface()
Creates an instance of defaultYangAutoPrefixInterface.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addToHigherLayerIf(String addTo)
Adds to the list of higherLayerIf.
|
void |
addToLowerLayerIf(String addTo)
Adds to the list of lowerLayerIf.
|
AdminStatusEnum |
adminStatus()
Returns the attribute adminStatus.
|
void |
adminStatus(AdminStatusEnum adminStatus)
Sets the attribute adminStatus.
|
boolean |
equals(Object obj) |
int |
hashCode() |
List<String> |
higherLayerIf()
Returns the attribute higherLayerIf.
|
void |
higherLayerIf(List<String> higherLayerIf)
Sets the attribute higherLayerIf.
|
int |
ifIndex()
Returns the attribute ifIndex.
|
void |
ifIndex(int ifIndex)
Sets the attribute ifIndex.
|
boolean |
isLeafValueSet(YangAutoPrefixInterface.LeafIdentifier leaf)
Checks if the leaf value is set.
|
DateAndTime |
lastChange()
Returns the attribute lastChange.
|
void |
lastChange(DateAndTime lastChange)
Sets the attribute lastChange.
|
List<String> |
lowerLayerIf()
Returns the attribute lowerLayerIf.
|
void |
lowerLayerIf(List<String> lowerLayerIf)
Sets the attribute lowerLayerIf.
|
String |
name()
Returns the attribute name.
|
void |
name(String name)
Sets the attribute name.
|
OperStatusEnum |
operStatus()
Returns the attribute operStatus.
|
void |
operStatus(OperStatusEnum operStatus)
Sets the attribute operStatus.
|
PhysAddress |
physAddress()
Returns the attribute physAddress.
|
void |
physAddress(PhysAddress physAddress)
Sets the attribute physAddress.
|
Gauge64 |
speed()
Returns the attribute speed.
|
void |
speed(Gauge64 speed)
Sets the attribute speed.
|
Statistics |
statistics()
Returns the attribute statistics.
|
void |
statistics(Statistics statistics)
Sets the attribute statistics.
|
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 Class<? extends InterfaceType> type
protected AdminStatusEnum adminStatus
protected OperStatusEnum operStatus
protected DateAndTime lastChange
protected int ifIndex
protected PhysAddress physAddress
protected Gauge64 speed
protected BitSet valueLeafFlags
protected Statistics statistics
public DefaultYangAutoPrefixInterface()
public String name()
YangAutoPrefixInterfacename in interface YangAutoPrefixInterfacepublic Class<? extends InterfaceType> type()
YangAutoPrefixInterfacetype in interface YangAutoPrefixInterfacepublic AdminStatusEnum adminStatus()
YangAutoPrefixInterfaceadminStatus in interface YangAutoPrefixInterfacepublic OperStatusEnum operStatus()
YangAutoPrefixInterfaceoperStatus in interface YangAutoPrefixInterfacepublic DateAndTime lastChange()
YangAutoPrefixInterfacelastChange in interface YangAutoPrefixInterfacepublic int ifIndex()
YangAutoPrefixInterfaceifIndex in interface YangAutoPrefixInterfacepublic PhysAddress physAddress()
YangAutoPrefixInterfacephysAddress in interface YangAutoPrefixInterfacepublic Gauge64 speed()
YangAutoPrefixInterfacespeed in interface YangAutoPrefixInterfacepublic List<String> higherLayerIf()
YangAutoPrefixInterfacehigherLayerIf in interface YangAutoPrefixInterfacepublic List<String> lowerLayerIf()
YangAutoPrefixInterfacelowerLayerIf in interface YangAutoPrefixInterfacepublic BitSet valueLeafFlags()
YangAutoPrefixInterfacevalueLeafFlags in interface YangAutoPrefixInterfacepublic Statistics statistics()
YangAutoPrefixInterfacestatistics in interface YangAutoPrefixInterfacepublic void name(String name)
YangAutoPrefixInterfacename in interface YangAutoPrefixInterfacename - value of namepublic void type(Class<? extends InterfaceType> type)
YangAutoPrefixInterfacetype in interface YangAutoPrefixInterfacetype - value of typepublic void adminStatus(AdminStatusEnum adminStatus)
YangAutoPrefixInterfaceadminStatus in interface YangAutoPrefixInterfaceadminStatus - value of adminStatuspublic void operStatus(OperStatusEnum operStatus)
YangAutoPrefixInterfaceoperStatus in interface YangAutoPrefixInterfaceoperStatus - value of operStatuspublic void lastChange(DateAndTime lastChange)
YangAutoPrefixInterfacelastChange in interface YangAutoPrefixInterfacelastChange - value of lastChangepublic void ifIndex(int ifIndex)
YangAutoPrefixInterfaceifIndex in interface YangAutoPrefixInterfaceifIndex - value of ifIndexpublic void physAddress(PhysAddress physAddress)
YangAutoPrefixInterfacephysAddress in interface YangAutoPrefixInterfacephysAddress - value of physAddresspublic void speed(Gauge64 speed)
YangAutoPrefixInterfacespeed in interface YangAutoPrefixInterfacespeed - value of speedpublic void higherLayerIf(List<String> higherLayerIf)
YangAutoPrefixInterfacehigherLayerIf in interface YangAutoPrefixInterfacehigherLayerIf - list of higherLayerIfpublic void lowerLayerIf(List<String> lowerLayerIf)
YangAutoPrefixInterfacelowerLayerIf in interface YangAutoPrefixInterfacelowerLayerIf - list of lowerLayerIfpublic void statistics(Statistics statistics)
YangAutoPrefixInterfacestatistics in interface YangAutoPrefixInterfacestatistics - value of statisticspublic void addToHigherLayerIf(String addTo)
YangAutoPrefixInterfaceaddToHigherLayerIf in interface YangAutoPrefixInterfaceaddTo - value of higherLayerIfpublic void addToLowerLayerIf(String addTo)
YangAutoPrefixInterfaceaddToLowerLayerIf in interface YangAutoPrefixInterfaceaddTo - value of lowerLayerIfpublic boolean isLeafValueSet(YangAutoPrefixInterface.LeafIdentifier leaf)
YangAutoPrefixInterfaceisLeafValueSet in interface YangAutoPrefixInterfaceleaf - leaf whose value status needs to checkedCopyright © 2018. All rights reserved.