public class DefaultYangAutoPrefixClass extends org.onosproject.yang.model.InnerModelObject implements YangAutoPrefixClass, org.onosproject.yang.model.MultiInstanceObject<YangAutoPrefixClassKeys>
valueLeafFlags identify the leafs whose value are explicitly set Applicable in protocol edit and query operation.
org.onosproject.yang.model.ModelObject.ModelObjectTypeYangAutoPrefixClass.LeafIdentifier| Modifier and Type | Field and Description |
|---|---|
protected String |
classId |
protected short |
guaranteedBwPercent |
protected short |
priorityLevel |
protected short |
rateLimit |
protected BitSet |
valueLeafFlags |
| Constructor and Description |
|---|
DefaultYangAutoPrefixClass()
Creates an instance of defaultYangAutoPrefixClass.
|
| Modifier and Type | Method and Description |
|---|---|
String |
classId()
Returns the attribute classId.
|
void |
classId(String classId)
Sets the attribute classId.
|
boolean |
equals(Object obj) |
short |
guaranteedBwPercent()
Returns the attribute guaranteedBwPercent.
|
void |
guaranteedBwPercent(short guaranteedBwPercent)
Sets the attribute guaranteedBwPercent.
|
int |
hashCode() |
boolean |
isLeafValueSet(YangAutoPrefixClass.LeafIdentifier leaf)
Checks if the leaf value is set.
|
short |
priorityLevel()
Returns the attribute priorityLevel.
|
void |
priorityLevel(short priorityLevel)
Sets the attribute priorityLevel.
|
short |
rateLimit()
Returns the attribute rateLimit.
|
void |
rateLimit(short rateLimit)
Sets the attribute rateLimit.
|
String |
toString() |
BitSet |
valueLeafFlags()
Returns the attribute valueLeafFlags.
|
protected String classId
protected short rateLimit
protected short priorityLevel
protected short guaranteedBwPercent
protected BitSet valueLeafFlags
public DefaultYangAutoPrefixClass()
public String classId()
YangAutoPrefixClassclassId in interface YangAutoPrefixClasspublic short rateLimit()
YangAutoPrefixClassrateLimit in interface YangAutoPrefixClasspublic short priorityLevel()
YangAutoPrefixClasspriorityLevel in interface YangAutoPrefixClasspublic short guaranteedBwPercent()
YangAutoPrefixClassguaranteedBwPercent in interface YangAutoPrefixClasspublic BitSet valueLeafFlags()
YangAutoPrefixClassvalueLeafFlags in interface YangAutoPrefixClasspublic void classId(String classId)
YangAutoPrefixClassclassId in interface YangAutoPrefixClassclassId - value of classIdpublic void rateLimit(short rateLimit)
YangAutoPrefixClassrateLimit in interface YangAutoPrefixClassrateLimit - value of rateLimitpublic void priorityLevel(short priorityLevel)
YangAutoPrefixClasspriorityLevel in interface YangAutoPrefixClasspriorityLevel - value of priorityLevelpublic void guaranteedBwPercent(short guaranteedBwPercent)
YangAutoPrefixClassguaranteedBwPercent in interface YangAutoPrefixClassguaranteedBwPercent - value of guaranteedBwPercentpublic boolean isLeafValueSet(YangAutoPrefixClass.LeafIdentifier leaf)
YangAutoPrefixClassisLeafValueSet in interface YangAutoPrefixClassleaf - leaf whose value status needs to checkedCopyright © 2017. All rights reserved.