public class DefaultConstraints extends org.onosproject.yang.model.InnerModelObject implements Constraints, org.onosproject.yang.model.MultiInstanceObject<ConstraintsKeys>
valueLeafFlags identify the leafs whose value are explicitly set Applicable in protocol edit and query operation.
org.onosproject.yang.model.ModelObject.ModelObjectTypeConstraints.LeafIdentifier| Modifier and Type | Field and Description |
|---|---|
protected Constraint |
constraint |
protected Class<? extends RouteExcludeSrlg> |
usage |
protected BitSet |
valueLeafFlags |
| Constructor and Description |
|---|
DefaultConstraints()
Creates an instance of defaultConstraints.
|
| Modifier and Type | Method and Description |
|---|---|
Constraint |
constraint()
Returns the attribute constraint.
|
void |
constraint(Constraint constraint)
Sets the attribute constraint.
|
boolean |
equals(Object obj) |
int |
hashCode() |
boolean |
isLeafValueSet(Constraints.LeafIdentifier leaf)
Checks if the leaf value is set.
|
String |
toString() |
Class<? extends RouteExcludeSrlg> |
usage()
Returns the attribute usage.
|
void |
usage(Class<? extends RouteExcludeSrlg> usage)
Sets the attribute usage.
|
BitSet |
valueLeafFlags()
Returns the attribute valueLeafFlags.
|
addAugmentation, augmentation, augmentations, removeAugmentationprotected Class<? extends RouteExcludeSrlg> usage
protected BitSet valueLeafFlags
protected Constraint constraint
public DefaultConstraints()
public Class<? extends RouteExcludeSrlg> usage()
Constraintsusage in interface Constraintspublic BitSet valueLeafFlags()
ConstraintsvalueLeafFlags in interface Constraintspublic Constraint constraint()
Constraintsconstraint in interface Constraintspublic void usage(Class<? extends RouteExcludeSrlg> usage)
Constraintsusage in interface Constraintsusage - value of usagepublic void constraint(Constraint constraint)
Constraintsconstraint in interface Constraintsconstraint - value of constraintpublic boolean isLeafValueSet(Constraints.LeafIdentifier leaf)
ConstraintsisLeafValueSet in interface Constraintsleaf - leaf whose value status needs to checkedCopyright © 2018. All rights reserved.