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 Bandwidth |
bandwidth |
protected long |
costLimit |
protected ExplicitRouteObjects |
explicitRouteObjects |
protected short |
holdPriority |
protected short |
hopLimit |
protected boolean |
ignoreOverload |
protected Class<? extends PathMetricType> |
metricType |
protected String |
name |
protected PathAffinities |
pathAffinities |
protected PathSrlgs |
pathSrlgs |
protected short |
setupPriority |
protected Class<? extends PathTiebreakerType> |
tiebreakerType |
protected TeTopologyId |
topologyId |
protected BitSet |
valueLeafFlags |
| Constructor and Description |
|---|
DefaultState()
Creates an instance of defaultState.
|
| Modifier and Type | Method and Description |
|---|---|
Bandwidth |
bandwidth()
Returns the attribute bandwidth.
|
void |
bandwidth(Bandwidth bandwidth)
Sets the attribute bandwidth.
|
long |
costLimit()
Returns the attribute costLimit.
|
void |
costLimit(long costLimit)
Sets the attribute costLimit.
|
boolean |
equals(Object obj) |
ExplicitRouteObjects |
explicitRouteObjects()
Returns the attribute explicitRouteObjects.
|
void |
explicitRouteObjects(ExplicitRouteObjects explicitRouteObjects)
Sets the attribute explicitRouteObjects.
|
int |
hashCode() |
short |
holdPriority()
Returns the attribute holdPriority.
|
void |
holdPriority(short holdPriority)
Sets the attribute holdPriority.
|
short |
hopLimit()
Returns the attribute hopLimit.
|
void |
hopLimit(short hopLimit)
Sets the attribute hopLimit.
|
boolean |
ignoreOverload()
Returns the attribute ignoreOverload.
|
void |
ignoreOverload(boolean ignoreOverload)
Sets the attribute ignoreOverload.
|
boolean |
isLeafValueSet(State.LeafIdentifier leaf)
Checks if the leaf value is set.
|
Class<? extends PathMetricType> |
metricType()
Returns the attribute metricType.
|
void |
metricType(Class<? extends PathMetricType> metricType)
Sets the attribute metricType.
|
String |
name()
Returns the attribute name.
|
void |
name(String name)
Sets the attribute name.
|
PathAffinities |
pathAffinities()
Returns the attribute pathAffinities.
|
void |
pathAffinities(PathAffinities pathAffinities)
Sets the attribute pathAffinities.
|
PathSrlgs |
pathSrlgs()
Returns the attribute pathSrlgs.
|
void |
pathSrlgs(PathSrlgs pathSrlgs)
Sets the attribute pathSrlgs.
|
short |
setupPriority()
Returns the attribute setupPriority.
|
void |
setupPriority(short setupPriority)
Sets the attribute setupPriority.
|
Class<? extends PathTiebreakerType> |
tiebreakerType()
Returns the attribute tiebreakerType.
|
void |
tiebreakerType(Class<? extends PathTiebreakerType> tiebreakerType)
Sets the attribute tiebreakerType.
|
TeTopologyId |
topologyId()
Returns the attribute topologyId.
|
void |
topologyId(TeTopologyId topologyId)
Sets the attribute topologyId.
|
String |
toString() |
BitSet |
valueLeafFlags()
Returns the attribute valueLeafFlags.
|
addAugmentation, augmentation, augmentations, removeAugmentationprotected String name
protected TeTopologyId topologyId
protected long costLimit
protected short hopLimit
protected Class<? extends PathMetricType> metricType
protected Class<? extends PathTiebreakerType> tiebreakerType
protected boolean ignoreOverload
protected short setupPriority
protected short holdPriority
protected BitSet valueLeafFlags
protected PathAffinities pathAffinities
protected PathSrlgs pathSrlgs
protected Bandwidth bandwidth
protected ExplicitRouteObjects explicitRouteObjects
public TeTopologyId topologyId()
StatetopologyId in interface Statepublic long costLimit()
Statepublic short hopLimit()
Statepublic Class<? extends PathMetricType> metricType()
StatemetricType in interface Statepublic Class<? extends PathTiebreakerType> tiebreakerType()
StatetiebreakerType in interface Statepublic boolean ignoreOverload()
StateignoreOverload in interface Statepublic short setupPriority()
StatesetupPriority in interface Statepublic short holdPriority()
StateholdPriority in interface Statepublic BitSet valueLeafFlags()
StatevalueLeafFlags in interface Statepublic PathAffinities pathAffinities()
StatepathAffinities in interface Statepublic PathSrlgs pathSrlgs()
Statepublic Bandwidth bandwidth()
Statepublic ExplicitRouteObjects explicitRouteObjects()
StateexplicitRouteObjects in interface Statepublic void name(String name)
Statepublic void topologyId(TeTopologyId topologyId)
StatetopologyId in interface StatetopologyId - value of topologyIdpublic void costLimit(long costLimit)
Statepublic void hopLimit(short hopLimit)
Statepublic void metricType(Class<? extends PathMetricType> metricType)
StatemetricType in interface StatemetricType - value of metricTypepublic void tiebreakerType(Class<? extends PathTiebreakerType> tiebreakerType)
StatetiebreakerType in interface StatetiebreakerType - value of tiebreakerTypepublic void ignoreOverload(boolean ignoreOverload)
StateignoreOverload in interface StateignoreOverload - value of ignoreOverloadpublic void setupPriority(short setupPriority)
StatesetupPriority in interface StatesetupPriority - value of setupPrioritypublic void holdPriority(short holdPriority)
StateholdPriority in interface StateholdPriority - value of holdPrioritypublic void pathAffinities(PathAffinities pathAffinities)
StatepathAffinities in interface StatepathAffinities - value of pathAffinitiespublic void pathSrlgs(PathSrlgs pathSrlgs)
Statepublic void bandwidth(Bandwidth bandwidth)
Statepublic void explicitRouteObjects(ExplicitRouteObjects explicitRouteObjects)
StateexplicitRouteObjects in interface StateexplicitRouteObjects - value of explicitRouteObjectspublic boolean isLeafValueSet(State.LeafIdentifier leaf)
StateisLeafValueSet in interface Stateleaf - leaf whose value status needs to checkedCopyright © 2018. All rights reserved.