public class DefaultShamLink extends org.onosproject.yang.model.InnerModelObject implements ShamLink, org.onosproject.yang.model.MultiInstanceObject<ShamLinkKeys>
valueLeafFlags identify the leafs whose value are explicitly set Applicable in protocol edit and query operation.
org.onosproject.yang.model.ModelObject.ModelObjectTypeShamLink.LeafIdentifier| Modifier and Type | Field and Description |
|---|---|
protected int |
metric |
protected SvcId |
targetSite |
protected BitSet |
valueLeafFlags |
| Constructor and Description |
|---|
DefaultShamLink()
Creates an instance of defaultShamLink.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
int |
hashCode() |
boolean |
isLeafValueSet(ShamLink.LeafIdentifier leaf)
Checks if the leaf value is set.
|
int |
metric()
Returns the attribute metric.
|
void |
metric(int metric)
Sets the attribute metric.
|
SvcId |
targetSite()
Returns the attribute targetSite.
|
void |
targetSite(SvcId targetSite)
Sets the attribute targetSite.
|
String |
toString() |
BitSet |
valueLeafFlags()
Returns the attribute valueLeafFlags.
|
addAugmentation, augmentation, augmentations, removeAugmentationprotected SvcId targetSite
protected int metric
protected BitSet valueLeafFlags
public SvcId targetSite()
ShamLinktargetSite in interface ShamLinkpublic int metric()
ShamLinkpublic BitSet valueLeafFlags()
ShamLinkvalueLeafFlags in interface ShamLinkpublic void targetSite(SvcId targetSite)
ShamLinktargetSite in interface ShamLinktargetSite - value of targetSitepublic void metric(int metric)
ShamLinkpublic boolean isLeafValueSet(ShamLink.LeafIdentifier leaf)
ShamLinkisLeafValueSet in interface ShamLinkleaf - leaf whose value status needs to checkedCopyright © 2018. All rights reserved.