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 StateType> |
adminStatus |
protected String |
description |
protected short |
holdPriority |
protected int |
identifier |
protected Class<? extends LspProtType> |
lspProtectionType |
protected String |
name |
protected int |
reoptimizeTimer |
protected short |
setupPriority |
protected Class<? extends TunnelType> |
type |
protected BitSet |
valueLeafFlags |
| Constructor and Description |
|---|
DefaultState()
Creates an instance of defaultState.
|
| Modifier and Type | Method and Description |
|---|---|
Class<? extends StateType> |
adminStatus()
Returns the attribute adminStatus.
|
void |
adminStatus(Class<? extends StateType> adminStatus)
Sets the attribute adminStatus.
|
String |
description()
Returns the attribute description.
|
void |
description(String description)
Sets the attribute description.
|
boolean |
equals(Object obj) |
int |
hashCode() |
short |
holdPriority()
Returns the attribute holdPriority.
|
void |
holdPriority(short holdPriority)
Sets the attribute holdPriority.
|
int |
identifier()
Returns the attribute identifier.
|
void |
identifier(int identifier)
Sets the attribute identifier.
|
boolean |
isLeafValueSet(State.LeafIdentifier leaf)
Checks if the leaf value is set.
|
Class<? extends LspProtType> |
lspProtectionType()
Returns the attribute lspProtectionType.
|
void |
lspProtectionType(Class<? extends LspProtType> lspProtectionType)
Sets the attribute lspProtectionType.
|
String |
name()
Returns the attribute name.
|
void |
name(String name)
Sets the attribute name.
|
int |
reoptimizeTimer()
Returns the attribute reoptimizeTimer.
|
void |
reoptimizeTimer(int reoptimizeTimer)
Sets the attribute reoptimizeTimer.
|
short |
setupPriority()
Returns the attribute setupPriority.
|
void |
setupPriority(short setupPriority)
Sets the attribute setupPriority.
|
String |
toString() |
Class<? extends TunnelType> |
type()
Returns the attribute type.
|
void |
type(Class<? extends TunnelType> type)
Sets the attribute type.
|
BitSet |
valueLeafFlags()
Returns the attribute valueLeafFlags.
|
addAugmentation, augmentation, augmentations, removeAugmentationprotected String name
protected Class<? extends TunnelType> type
protected int identifier
protected String description
protected short setupPriority
protected short holdPriority
protected Class<? extends LspProtType> lspProtectionType
protected int reoptimizeTimer
protected BitSet valueLeafFlags
public Class<? extends TunnelType> type()
Statepublic int identifier()
Stateidentifier in interface Statepublic String description()
Statedescription in interface Statepublic short setupPriority()
StatesetupPriority in interface Statepublic short holdPriority()
StateholdPriority in interface Statepublic Class<? extends LspProtType> lspProtectionType()
StatelspProtectionType in interface Statepublic Class<? extends StateType> adminStatus()
StateadminStatus in interface Statepublic int reoptimizeTimer()
StatereoptimizeTimer in interface Statepublic BitSet valueLeafFlags()
StatevalueLeafFlags in interface Statepublic void name(String name)
Statepublic void type(Class<? extends TunnelType> type)
Statepublic void identifier(int identifier)
Stateidentifier in interface Stateidentifier - value of identifierpublic void description(String description)
Statedescription in interface Statedescription - value of descriptionpublic void setupPriority(short setupPriority)
StatesetupPriority in interface StatesetupPriority - value of setupPrioritypublic void holdPriority(short holdPriority)
StateholdPriority in interface StateholdPriority - value of holdPrioritypublic void lspProtectionType(Class<? extends LspProtType> lspProtectionType)
StatelspProtectionType in interface StatelspProtectionType - value of lspProtectionTypepublic void adminStatus(Class<? extends StateType> adminStatus)
StateadminStatus in interface StateadminStatus - value of adminStatuspublic void reoptimizeTimer(int reoptimizeTimer)
StatereoptimizeTimer in interface StatereoptimizeTimer - value of reoptimizeTimerpublic boolean isLeafValueSet(State.LeafIdentifier leaf)
StateisLeafValueSet in interface Stateleaf - leaf whose value status needs to checkedCopyright © 2018. All rights reserved.