public class DefaultState extends org.onosproject.yang.model.InnerModelObject implements State
valueLeafFlags identify the leafs whose value are explicitly set Applicable in protocol edit and query operation.
org.onosproject.yang.model.ModelObject.ModelObjectTypeState.LeafIdentifier| Modifier and Type | Field and Description |
|---|---|
protected boolean |
active |
protected Class<? extends TePathSetupProtocol> |
pathSetupProtocol |
protected int |
priority |
protected Object |
secondaryPath |
protected BitSet |
valueLeafFlags |
| Constructor and Description |
|---|
DefaultState()
Creates an instance of defaultState.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
active()
Returns the attribute active.
|
void |
active(boolean active)
Sets the attribute active.
|
boolean |
equals(Object obj) |
int |
hashCode() |
boolean |
isLeafValueSet(State.LeafIdentifier leaf)
Checks if the leaf value is set.
|
Class<? extends TePathSetupProtocol> |
pathSetupProtocol()
Returns the attribute pathSetupProtocol.
|
void |
pathSetupProtocol(Class<? extends TePathSetupProtocol> pathSetupProtocol)
Sets the attribute pathSetupProtocol.
|
int |
priority()
Returns the attribute priority.
|
void |
priority(int priority)
Sets the attribute priority.
|
Object |
secondaryPath()
Returns the attribute secondaryPath.
|
void |
secondaryPath(Object secondaryPath)
Sets the attribute secondaryPath.
|
String |
toString() |
BitSet |
valueLeafFlags()
Returns the attribute valueLeafFlags.
|
addAugmentation, augmentation, augmentations, removeAugmentationprotected Object secondaryPath
protected int priority
protected Class<? extends TePathSetupProtocol> pathSetupProtocol
protected boolean active
protected BitSet valueLeafFlags
public Object secondaryPath()
StatesecondaryPath in interface Statepublic int priority()
Statepublic Class<? extends TePathSetupProtocol> pathSetupProtocol()
StatepathSetupProtocol in interface Statepublic boolean active()
Statepublic BitSet valueLeafFlags()
StatevalueLeafFlags in interface Statepublic void secondaryPath(Object secondaryPath)
StatesecondaryPath in interface StatesecondaryPath - value of secondaryPathpublic void priority(int priority)
Statepublic void pathSetupProtocol(Class<? extends TePathSetupProtocol> pathSetupProtocol)
StatepathSetupProtocol in interface StatepathSetupProtocol - value of pathSetupProtocolpublic void active(boolean active)
Statepublic boolean isLeafValueSet(State.LeafIdentifier leaf)
StateisLeafValueSet in interface Stateleaf - leaf whose value status needs to checkedCopyright © 2018. All rights reserved.