public class DefaultEntry extends org.onosproject.yang.model.InnerModelObject implements Entry, org.onosproject.yang.model.MultiInstanceObject<EntryKeys>
valueLeafFlags identify the leafs whose value are explicitly set Applicable in protocol edit and query operation.
org.onosproject.yang.model.ModelObject.ModelObjectTypeEntry.LeafIdentifier| Modifier and Type | Field and Description |
|---|---|
protected short |
id |
protected MplsLabel |
label |
protected short |
trafficClass |
protected short |
ttl |
protected BitSet |
valueLeafFlags |
| Constructor and Description |
|---|
DefaultEntry()
Creates an instance of defaultEntry.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
int |
hashCode() |
short |
id()
Returns the attribute id.
|
void |
id(short id)
Sets the attribute id.
|
boolean |
isLeafValueSet(Entry.LeafIdentifier leaf)
Checks if the leaf value is set.
|
MplsLabel |
label()
Returns the attribute label.
|
void |
label(MplsLabel label)
Sets the attribute label.
|
String |
toString() |
short |
trafficClass()
Returns the attribute trafficClass.
|
void |
trafficClass(short trafficClass)
Sets the attribute trafficClass.
|
short |
ttl()
Returns the attribute ttl.
|
void |
ttl(short ttl)
Sets the attribute ttl.
|
BitSet |
valueLeafFlags()
Returns the attribute valueLeafFlags.
|
addAugmentation, augmentation, augmentations, removeAugmentationprotected short id
protected MplsLabel label
protected short ttl
protected short trafficClass
protected BitSet valueLeafFlags
public short id()
Entrypublic MplsLabel label()
Entrypublic short ttl()
Entrypublic short trafficClass()
EntrytrafficClass in interface Entrypublic BitSet valueLeafFlags()
EntryvalueLeafFlags in interface Entrypublic void id(short id)
Entrypublic void label(MplsLabel label)
Entrypublic void ttl(short ttl)
Entrypublic void trafficClass(short trafficClass)
EntrytrafficClass in interface EntrytrafficClass - value of trafficClasspublic boolean isLeafValueSet(Entry.LeafIdentifier leaf)
EntryisLeafValueSet in interface Entryleaf - leaf whose value status needs to checkedCopyright © 2018. All rights reserved.