public class DefaultLink extends org.onosproject.yang.model.InnerModelObject implements Link, org.onosproject.yang.model.MultiInstanceObject<LinkKeys>
valueLeafFlags identify the leafs whose value are explicitly set Applicable in protocol edit and query operation.
org.onosproject.yang.model.ModelObject.ModelObjectTypeLink.LeafIdentifier| Modifier and Type | Field and Description |
|---|---|
protected Destination |
destination |
protected LinkId |
linkId |
protected Source |
source |
protected List<SupportingLink> |
supportingLink |
protected BitSet |
valueLeafFlags |
| Constructor and Description |
|---|
DefaultLink()
Creates an instance of defaultLink.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addToSupportingLink(SupportingLink addTo)
Adds to the list of supportingLink.
|
Destination |
destination()
Returns the attribute destination.
|
void |
destination(Destination destination)
Sets the attribute destination.
|
boolean |
equals(Object obj) |
int |
hashCode() |
boolean |
isLeafValueSet(Link.LeafIdentifier leaf)
Checks if the leaf value is set.
|
LinkId |
linkId()
Returns the attribute linkId.
|
void |
linkId(LinkId linkId)
Sets the attribute linkId.
|
Source |
source()
Returns the attribute source.
|
void |
source(Source source)
Sets the attribute source.
|
List<SupportingLink> |
supportingLink()
Returns the attribute supportingLink.
|
void |
supportingLink(List<SupportingLink> supportingLink)
Sets the attribute supportingLink.
|
String |
toString() |
BitSet |
valueLeafFlags()
Returns the attribute valueLeafFlags.
|
addAugmentation, augmentation, augmentations, removeAugmentationprotected LinkId linkId
protected BitSet valueLeafFlags
protected Source source
protected Destination destination
protected List<SupportingLink> supportingLink
public BitSet valueLeafFlags()
LinkvalueLeafFlags in interface Linkpublic Destination destination()
Linkdestination in interface Linkpublic List<SupportingLink> supportingLink()
LinksupportingLink in interface Linkpublic void linkId(LinkId linkId)
Linkpublic void source(Source source)
Linkpublic void destination(Destination destination)
Linkdestination in interface Linkdestination - value of destinationpublic void supportingLink(List<SupportingLink> supportingLink)
LinksupportingLink in interface LinksupportingLink - list of supportingLinkpublic void addToSupportingLink(SupportingLink addTo)
LinkaddToSupportingLink in interface LinkaddTo - value of supportingLinkpublic boolean isLeafValueSet(Link.LeafIdentifier leaf)
LinkisLeafValueSet in interface Linkleaf - leaf whose value status needs to checkedCopyright © 2018. All rights reserved.