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 |
dstSite |
protected SvcId |
srcSite |
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.
|
SvcId |
dstSite()
Returns the attribute dstSite.
|
void |
dstSite(SvcId dstSite)
Sets the attribute dstSite.
|
boolean |
equals(Object obj) |
int |
hashCode() |
boolean |
isLeafValueSet(Constraint.LeafIdentifier leaf)
Checks if the leaf value is set.
|
SvcId |
srcSite()
Returns the attribute srcSite.
|
void |
srcSite(SvcId srcSite)
Sets the attribute srcSite.
|
String |
toString() |
BitSet |
valueLeafFlags()
Returns the attribute valueLeafFlags.
|
addAugmentation, augmentation, augmentations, removeAugmentationprotected SvcId constraintId
protected SvcId srcSite
protected SvcId dstSite
protected BitSet valueLeafFlags
protected List<ConstraintList> constraintList
public DefaultConstraint()
public SvcId constraintId()
ConstraintconstraintId in interface Constraintpublic SvcId srcSite()
ConstraintsrcSite in interface Constraintpublic SvcId dstSite()
ConstraintdstSite 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 srcSite(SvcId srcSite)
ConstraintsrcSite in interface ConstraintsrcSite - value of srcSitepublic void dstSite(SvcId dstSite)
ConstraintdstSite in interface ConstraintdstSite - value of dstSitepublic 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.