public class DefaultSource extends org.onosproject.yang.model.InnerModelObject implements Source
valueLeafFlags identify the leafs whose value are explicitly set Applicable in protocol edit and query operation.
org.onosproject.yang.model.ModelObject.ModelObjectTypeSource.LeafIdentifier| Modifier and Type | Field and Description |
|---|---|
protected NodeId |
sourceNode |
protected TpId |
sourceTp |
protected BitSet |
valueLeafFlags |
| Constructor and Description |
|---|
DefaultSource()
Creates an instance of defaultSource.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
int |
hashCode() |
boolean |
isLeafValueSet(Source.LeafIdentifier leaf)
Checks if the leaf value is set.
|
NodeId |
sourceNode()
Returns the attribute sourceNode.
|
void |
sourceNode(NodeId sourceNode)
Sets the attribute sourceNode.
|
TpId |
sourceTp()
Returns the attribute sourceTp.
|
void |
sourceTp(TpId sourceTp)
Sets the attribute sourceTp.
|
String |
toString() |
BitSet |
valueLeafFlags()
Returns the attribute valueLeafFlags.
|
addAugmentation, augmentation, augmentations, removeAugmentationprotected NodeId sourceNode
protected TpId sourceTp
protected BitSet valueLeafFlags
public NodeId sourceNode()
SourcesourceNode in interface Sourcepublic TpId sourceTp()
Sourcepublic BitSet valueLeafFlags()
SourcevalueLeafFlags in interface Sourcepublic void sourceNode(NodeId sourceNode)
SourcesourceNode in interface SourcesourceNode - value of sourceNodepublic void sourceTp(TpId sourceTp)
Sourcepublic boolean isLeafValueSet(Source.LeafIdentifier leaf)
SourceisLeafValueSet in interface Sourceleaf - leaf whose value status needs to checkedCopyright © 2018. All rights reserved.