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 Bidirectional |
bidirectional |
protected TeGlobalId |
clientId |
protected String |
description |
protected IpAddress |
destination |
protected byte[] |
dstTpId |
protected Class<? extends LspEncodingTypes> |
encoding |
protected HierarchicalLinkId |
hierarchicalLinkId |
protected short |
holdPriority |
protected int |
identifier |
protected String |
name |
protected Class<? extends StateType> |
operStatus |
protected short |
preference |
protected Class<? extends LspProtType> |
protectionType |
protected TeGlobalId |
providerId |
protected Class<? extends ProvStateType> |
provState |
protected int |
reoptimizeTimer |
protected short |
setupPriority |
protected Class<? extends TunnelType> |
signalingType |
protected IpAddress |
source |
protected byte[] |
srcTpId |
protected Class<? extends SwitchingCapabilities> |
switchingLayer |
protected TeTopologyId |
teTopologyId |
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.
|
Bidirectional |
bidirectional()
Returns the attribute bidirectional.
|
void |
bidirectional(Bidirectional bidirectional)
Sets the attribute bidirectional.
|
TeGlobalId |
clientId()
Returns the attribute clientId.
|
void |
clientId(TeGlobalId clientId)
Sets the attribute clientId.
|
String |
description()
Returns the attribute description.
|
void |
description(String description)
Sets the attribute description.
|
IpAddress |
destination()
Returns the attribute destination.
|
void |
destination(IpAddress destination)
Sets the attribute destination.
|
byte[] |
dstTpId()
Returns the attribute dstTpId.
|
void |
dstTpId(byte[] dstTpId)
Sets the attribute dstTpId.
|
Class<? extends LspEncodingTypes> |
encoding()
Returns the attribute encoding.
|
void |
encoding(Class<? extends LspEncodingTypes> encoding)
Sets the attribute encoding.
|
boolean |
equals(Object obj) |
int |
hashCode() |
HierarchicalLinkId |
hierarchicalLinkId()
Returns the attribute hierarchicalLinkId.
|
void |
hierarchicalLinkId(HierarchicalLinkId hierarchicalLinkId)
Sets the attribute hierarchicalLinkId.
|
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.
|
String |
name()
Returns the attribute name.
|
void |
name(String name)
Sets the attribute name.
|
Class<? extends StateType> |
operStatus()
Returns the attribute operStatus.
|
void |
operStatus(Class<? extends StateType> operStatus)
Sets the attribute operStatus.
|
short |
preference()
Returns the attribute preference.
|
void |
preference(short preference)
Sets the attribute preference.
|
Class<? extends LspProtType> |
protectionType()
Returns the attribute protectionType.
|
void |
protectionType(Class<? extends LspProtType> protectionType)
Sets the attribute protectionType.
|
TeGlobalId |
providerId()
Returns the attribute providerId.
|
void |
providerId(TeGlobalId providerId)
Sets the attribute providerId.
|
Class<? extends ProvStateType> |
provState()
Returns the attribute provState.
|
void |
provState(Class<? extends ProvStateType> provState)
Sets the attribute provState.
|
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.
|
Class<? extends TunnelType> |
signalingType()
Returns the attribute signalingType.
|
void |
signalingType(Class<? extends TunnelType> signalingType)
Sets the attribute signalingType.
|
IpAddress |
source()
Returns the attribute source.
|
void |
source(IpAddress source)
Sets the attribute source.
|
byte[] |
srcTpId()
Returns the attribute srcTpId.
|
void |
srcTpId(byte[] srcTpId)
Sets the attribute srcTpId.
|
Class<? extends SwitchingCapabilities> |
switchingLayer()
Returns the attribute switchingLayer.
|
void |
switchingLayer(Class<? extends SwitchingCapabilities> switchingLayer)
Sets the attribute switchingLayer.
|
TeTopologyId |
teTopologyId()
Returns the attribute teTopologyId.
|
void |
teTopologyId(TeTopologyId teTopologyId)
Sets the attribute teTopologyId.
|
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 Class<? extends SwitchingCapabilities> switchingLayer
protected Class<? extends LspEncodingTypes> encoding
protected Class<? extends LspProtType> protectionType
protected short preference
protected int reoptimizeTimer
protected TeGlobalId providerId
protected TeGlobalId clientId
protected TeTopologyId teTopologyId
protected IpAddress source
protected IpAddress destination
protected byte[] srcTpId
protected byte[] dstTpId
protected short setupPriority
protected short holdPriority
protected Class<? extends TunnelType> signalingType
protected Class<? extends ProvStateType> provState
protected BitSet valueLeafFlags
protected HierarchicalLinkId hierarchicalLinkId
protected Bidirectional bidirectional
public Class<? extends TunnelType> type()
Statepublic int identifier()
Stateidentifier in interface Statepublic String description()
Statedescription in interface Statepublic Class<? extends SwitchingCapabilities> switchingLayer()
StateswitchingLayer in interface Statepublic Class<? extends LspEncodingTypes> encoding()
Statepublic Class<? extends LspProtType> protectionType()
StateprotectionType in interface Statepublic Class<? extends StateType> adminStatus()
StateadminStatus in interface Statepublic short preference()
Statepreference in interface Statepublic int reoptimizeTimer()
StatereoptimizeTimer in interface Statepublic TeGlobalId providerId()
StateproviderId in interface Statepublic TeGlobalId clientId()
Statepublic TeTopologyId teTopologyId()
StateteTopologyId in interface Statepublic IpAddress source()
Statepublic IpAddress destination()
Statedestination in interface Statepublic byte[] srcTpId()
Statepublic byte[] dstTpId()
Statepublic short setupPriority()
StatesetupPriority in interface Statepublic short holdPriority()
StateholdPriority in interface Statepublic Class<? extends TunnelType> signalingType()
StatesignalingType in interface Statepublic Class<? extends StateType> operStatus()
StateoperStatus in interface Statepublic Class<? extends ProvStateType> provState()
Statepublic BitSet valueLeafFlags()
StatevalueLeafFlags in interface Statepublic HierarchicalLinkId hierarchicalLinkId()
StatehierarchicalLinkId in interface Statepublic Bidirectional bidirectional()
Statebidirectional 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 switchingLayer(Class<? extends SwitchingCapabilities> switchingLayer)
StateswitchingLayer in interface StateswitchingLayer - value of switchingLayerpublic void encoding(Class<? extends LspEncodingTypes> encoding)
Statepublic void protectionType(Class<? extends LspProtType> protectionType)
StateprotectionType in interface StateprotectionType - value of protectionTypepublic void adminStatus(Class<? extends StateType> adminStatus)
StateadminStatus in interface StateadminStatus - value of adminStatuspublic void preference(short preference)
Statepreference in interface Statepreference - value of preferencepublic void reoptimizeTimer(int reoptimizeTimer)
StatereoptimizeTimer in interface StatereoptimizeTimer - value of reoptimizeTimerpublic void providerId(TeGlobalId providerId)
StateproviderId in interface StateproviderId - value of providerIdpublic void clientId(TeGlobalId clientId)
Statepublic void teTopologyId(TeTopologyId teTopologyId)
StateteTopologyId in interface StateteTopologyId - value of teTopologyIdpublic void source(IpAddress source)
Statepublic void destination(IpAddress destination)
Statedestination in interface Statedestination - value of destinationpublic void srcTpId(byte[] srcTpId)
Statepublic void dstTpId(byte[] dstTpId)
Statepublic void setupPriority(short setupPriority)
StatesetupPriority in interface StatesetupPriority - value of setupPrioritypublic void holdPriority(short holdPriority)
StateholdPriority in interface StateholdPriority - value of holdPrioritypublic void signalingType(Class<? extends TunnelType> signalingType)
StatesignalingType in interface StatesignalingType - value of signalingTypepublic void operStatus(Class<? extends StateType> operStatus)
StateoperStatus in interface StateoperStatus - value of operStatuspublic void provState(Class<? extends ProvStateType> provState)
Statepublic void hierarchicalLinkId(HierarchicalLinkId hierarchicalLinkId)
StatehierarchicalLinkId in interface StatehierarchicalLinkId - value of hierarchicalLinkIdpublic void bidirectional(Bidirectional bidirectional)
Statebidirectional in interface Statebidirectional - value of bidirectionalpublic boolean isLeafValueSet(State.LeafIdentifier leaf)
StateisLeafValueSet in interface Stateleaf - leaf whose value status needs to checkedCopyright © 2018. All rights reserved.