public class DefaultQosClass extends org.onosproject.yang.model.InnerModelObject implements QosClass, org.onosproject.yang.model.MultiInstanceObject<QosClassKeys>
valueLeafFlags identify the leafs whose value are explicitly set Applicable in protocol edit and query operation.
org.onosproject.yang.model.ModelObject.ModelObjectTypeQosClass.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 |
|---|
DefaultQosClass()
Creates an instance of defaultQosClass.
|
| 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(QosClass.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 String classId()
QosClasspublic short rateLimit()
QosClasspublic short priorityLevel()
QosClasspriorityLevel in interface QosClasspublic short guaranteedBwPercent()
QosClassguaranteedBwPercent in interface QosClasspublic BitSet valueLeafFlags()
QosClassvalueLeafFlags in interface QosClasspublic void classId(String classId)
QosClasspublic void rateLimit(short rateLimit)
QosClasspublic void priorityLevel(short priorityLevel)
QosClasspriorityLevel in interface QosClasspriorityLevel - value of priorityLevelpublic void guaranteedBwPercent(short guaranteedBwPercent)
QosClassguaranteedBwPercent in interface QosClassguaranteedBwPercent - value of guaranteedBwPercentpublic boolean isLeafValueSet(QosClass.LeafIdentifier leaf)
QosClassisLeafValueSet in interface QosClassleaf - leaf whose value status needs to checkedCopyright © 2017. All rights reserved.