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 Class<? extends LspEncodingTypes> |
encoding |
protected Class<? extends SwitchingCapabilities> |
switchingCapability |
protected List<TerminationCapability> |
terminationCapability |
protected BitSet |
valueLeafFlags |
| Constructor and Description |
|---|
DefaultState()
Creates an instance of defaultState.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addToTerminationCapability(TerminationCapability addTo)
Adds to the list of terminationCapability.
|
Class<? extends LspEncodingTypes> |
encoding()
Returns the attribute encoding.
|
void |
encoding(Class<? extends LspEncodingTypes> encoding)
Sets the attribute encoding.
|
boolean |
equals(Object obj) |
int |
hashCode() |
boolean |
isLeafValueSet(State.LeafIdentifier leaf)
Checks if the leaf value is set.
|
Class<? extends SwitchingCapabilities> |
switchingCapability()
Returns the attribute switchingCapability.
|
void |
switchingCapability(Class<? extends SwitchingCapabilities> switchingCapability)
Sets the attribute switchingCapability.
|
List<TerminationCapability> |
terminationCapability()
Returns the attribute terminationCapability.
|
void |
terminationCapability(List<TerminationCapability> terminationCapability)
Sets the attribute terminationCapability.
|
String |
toString() |
BitSet |
valueLeafFlags()
Returns the attribute valueLeafFlags.
|
addAugmentation, augmentation, augmentations, removeAugmentationprotected Class<? extends SwitchingCapabilities> switchingCapability
protected Class<? extends LspEncodingTypes> encoding
protected BitSet valueLeafFlags
protected List<TerminationCapability> terminationCapability
public Class<? extends SwitchingCapabilities> switchingCapability()
StateswitchingCapability in interface Statepublic Class<? extends LspEncodingTypes> encoding()
Statepublic BitSet valueLeafFlags()
StatevalueLeafFlags in interface Statepublic List<TerminationCapability> terminationCapability()
StateterminationCapability in interface Statepublic void switchingCapability(Class<? extends SwitchingCapabilities> switchingCapability)
StateswitchingCapability in interface StateswitchingCapability - value of switchingCapabilitypublic void encoding(Class<? extends LspEncodingTypes> encoding)
Statepublic void terminationCapability(List<TerminationCapability> terminationCapability)
StateterminationCapability in interface StateterminationCapability - list of terminationCapabilitypublic void addToTerminationCapability(TerminationCapability addTo)
StateaddToTerminationCapability in interface StateaddTo - value of terminationCapabilitypublic boolean isLeafValueSet(State.LeafIdentifier leaf)
StateisLeafValueSet in interface Stateleaf - leaf whose value status needs to checkedCopyright © 2017. All rights reserved.