public class DefaultMetric extends org.onosproject.yang.model.InnerModelObject implements Metric, org.onosproject.yang.model.MultiInstanceObject<MetricKeys>
valueLeafFlags identify the leafs whose value are explicitly set Applicable in protocol edit and query operation.
org.onosproject.yang.model.ModelObject.ModelObjectTypeMetric.LeafIdentifier| Modifier and Type | Field and Description |
|---|---|
protected Class<? extends TePathNumericalProperty> |
name |
protected BigInteger |
value |
protected BitSet |
valueLeafFlags |
| Constructor and Description |
|---|
DefaultMetric()
Creates an instance of defaultMetric.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
int |
hashCode() |
boolean |
isLeafValueSet(Metric.LeafIdentifier leaf)
Checks if the leaf value is set.
|
Class<? extends TePathNumericalProperty> |
name()
Returns the attribute name.
|
void |
name(Class<? extends TePathNumericalProperty> name)
Sets the attribute name.
|
String |
toString() |
BigInteger |
value()
Returns the attribute value.
|
void |
value(BigInteger value)
Sets the attribute value.
|
BitSet |
valueLeafFlags()
Returns the attribute valueLeafFlags.
|
addAugmentation, augmentation, augmentations, removeAugmentationprotected Class<? extends TePathNumericalProperty> name
protected BigInteger value
protected BitSet valueLeafFlags
public Class<? extends TePathNumericalProperty> name()
Metricpublic BigInteger value()
Metricpublic BitSet valueLeafFlags()
MetricvalueLeafFlags in interface Metricpublic void name(Class<? extends TePathNumericalProperty> name)
Metricpublic void value(BigInteger value)
Metricpublic boolean isLeafValueSet(Metric.LeafIdentifier leaf)
MetricisLeafValueSet in interface Metricleaf - leaf whose value status needs to checkedCopyright © 2018. All rights reserved.