public class DefaultTiebreaker extends org.onosproject.yang.model.InnerModelObject implements Tiebreaker, org.onosproject.yang.model.MultiInstanceObject<TiebreakerKeys>
valueLeafFlags identify the leafs whose value are explicitly set Applicable in protocol edit and query operation.
org.onosproject.yang.model.ModelObject.ModelObjectTypeTiebreaker.LeafIdentifier| Modifier and Type | Field and Description |
|---|---|
protected Class<? extends TePathNumericalProperty> |
metric |
protected Class<? extends PathTiebreakerType> |
tiebreakerType |
protected BitSet |
valueLeafFlags |
| Constructor and Description |
|---|
DefaultTiebreaker()
Creates an instance of defaultTiebreaker.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
int |
hashCode() |
boolean |
isLeafValueSet(Tiebreaker.LeafIdentifier leaf)
Checks if the leaf value is set.
|
Class<? extends TePathNumericalProperty> |
metric()
Returns the attribute metric.
|
void |
metric(Class<? extends TePathNumericalProperty> metric)
Sets the attribute metric.
|
Class<? extends PathTiebreakerType> |
tiebreakerType()
Returns the attribute tiebreakerType.
|
void |
tiebreakerType(Class<? extends PathTiebreakerType> tiebreakerType)
Sets the attribute tiebreakerType.
|
String |
toString() |
BitSet |
valueLeafFlags()
Returns the attribute valueLeafFlags.
|
addAugmentation, augmentation, augmentations, removeAugmentationprotected Class<? extends TePathNumericalProperty> metric
protected Class<? extends PathTiebreakerType> tiebreakerType
protected BitSet valueLeafFlags
public DefaultTiebreaker()
public Class<? extends TePathNumericalProperty> metric()
Tiebreakermetric in interface Tiebreakerpublic Class<? extends PathTiebreakerType> tiebreakerType()
TiebreakertiebreakerType in interface Tiebreakerpublic BitSet valueLeafFlags()
TiebreakervalueLeafFlags in interface Tiebreakerpublic void metric(Class<? extends TePathNumericalProperty> metric)
Tiebreakermetric in interface Tiebreakermetric - value of metricpublic void tiebreakerType(Class<? extends PathTiebreakerType> tiebreakerType)
TiebreakertiebreakerType in interface TiebreakertiebreakerType - value of tiebreakerTypepublic boolean isLeafValueSet(Tiebreaker.LeafIdentifier leaf)
TiebreakerisLeafValueSet in interface Tiebreakerleaf - leaf whose value status needs to checkedCopyright © 2018. All rights reserved.