public class DefaultBearer extends org.onosproject.yang.model.InnerModelObject implements Bearer
valueLeafFlags identify the leafs whose value are explicitly set Applicable in protocol edit and query operation.
org.onosproject.yang.model.ModelObject.ModelObjectTypeBearer.LeafIdentifier| Modifier and Type | Field and Description |
|---|---|
protected boolean |
alwaysOn |
protected String |
bearerReference |
protected RequestedType |
requestedType |
protected BitSet |
valueLeafFlags |
| Constructor and Description |
|---|
DefaultBearer()
Creates an instance of defaultBearer.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
alwaysOn()
Returns the attribute alwaysOn.
|
void |
alwaysOn(boolean alwaysOn)
Sets the attribute alwaysOn.
|
String |
bearerReference()
Returns the attribute bearerReference.
|
void |
bearerReference(String bearerReference)
Sets the attribute bearerReference.
|
boolean |
equals(Object obj) |
int |
hashCode() |
boolean |
isLeafValueSet(Bearer.LeafIdentifier leaf)
Checks if the leaf value is set.
|
RequestedType |
requestedType()
Returns the attribute requestedType.
|
void |
requestedType(RequestedType requestedType)
Sets the attribute requestedType.
|
String |
toString() |
BitSet |
valueLeafFlags()
Returns the attribute valueLeafFlags.
|
addAugmentation, augmentation, augmentations, removeAugmentationprotected boolean alwaysOn
protected String bearerReference
protected BitSet valueLeafFlags
protected RequestedType requestedType
public boolean alwaysOn()
Bearerpublic String bearerReference()
BearerbearerReference in interface Bearerpublic BitSet valueLeafFlags()
BearervalueLeafFlags in interface Bearerpublic RequestedType requestedType()
BearerrequestedType in interface Bearerpublic void alwaysOn(boolean alwaysOn)
Bearerpublic void bearerReference(String bearerReference)
BearerbearerReference in interface BearerbearerReference - value of bearerReferencepublic void requestedType(RequestedType requestedType)
BearerrequestedType in interface BearerrequestedType - value of requestedTypepublic boolean isLeafValueSet(Bearer.LeafIdentifier leaf)
BearerisLeafValueSet in interface Bearerleaf - leaf whose value status needs to checkedCopyright © 2018. All rights reserved.