public class DefaultConstraint extends org.onosproject.yang.model.InnerModelObject implements Constraint, org.onosproject.yang.model.MultiInstanceObject<ConstraintKeys>
valueLeafFlags identify the leafs whose value are explicitly set Applicable in protocol edit and query operation.
org.onosproject.yang.model.ModelObject.ModelObjectTypeConstraint.LeafIdentifier| Modifier and Type | Field and Description |
|---|---|
protected SvcId |
constraintId |
protected List<ConstraintList> |
constraintList |
protected SvcId |
site1 |
protected SvcId |
site2 |
protected BitSet |
valueLeafFlags |
| Constructor and Description |
|---|
DefaultConstraint()
Creates an instance of defaultConstraint.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addToConstraintList(ConstraintList addTo)
Adds to the list of constraintList.
|
SvcId |
constraintId()
Returns the attribute constraintId.
|
void |
constraintId(SvcId constraintId)
Sets the attribute constraintId.
|
List<ConstraintList> |
constraintList()
Returns the attribute constraintList.
|
void |
constraintList(List<ConstraintList> constraintList)
Sets the attribute constraintList.
|
boolean |
equals(Object obj) |
int |
hashCode() |
boolean |
isLeafValueSet(Constraint.LeafIdentifier leaf)
Checks if the leaf value is set.
|
SvcId |
site1()
Returns the attribute site1.
|
void |
site1(SvcId site1)
Sets the attribute site1.
|
SvcId |
site2()
Returns the attribute site2.
|
void |
site2(SvcId site2)
Sets the attribute site2.
|
String |
toString() |
BitSet |
valueLeafFlags()
Returns the attribute valueLeafFlags.
|
addAugmentation, augmentation, augmentations, removeAugmentationprotected SvcId constraintId
protected SvcId site1
protected SvcId site2
protected BitSet valueLeafFlags
protected List<ConstraintList> constraintList
public DefaultConstraint()
public SvcId constraintId()
ConstraintconstraintId in interface Constraintpublic SvcId site1()
Constraintsite1 in interface Constraintpublic SvcId site2()
Constraintsite2 in interface Constraintpublic BitSet valueLeafFlags()
ConstraintvalueLeafFlags in interface Constraintpublic List<ConstraintList> constraintList()
ConstraintconstraintList in interface Constraintpublic void constraintId(SvcId constraintId)
ConstraintconstraintId in interface ConstraintconstraintId - value of constraintIdpublic void site1(SvcId site1)
Constraintsite1 in interface Constraintsite1 - value of site1public void site2(SvcId site2)
Constraintsite2 in interface Constraintsite2 - value of site2public void constraintList(List<ConstraintList> constraintList)
ConstraintconstraintList in interface ConstraintconstraintList - list of constraintListpublic void addToConstraintList(ConstraintList addTo)
ConstraintaddToConstraintList in interface ConstraintaddTo - value of constraintListpublic boolean isLeafValueSet(Constraint.LeafIdentifier leaf)
ConstraintisLeafValueSet in interface Constraintleaf - leaf whose value status needs to checkedCopyright © 2018. All rights reserved.