public interface ConstraintDefinition
null
value.Modifier and Type | Method and Description |
---|---|
Integer |
getMaxElements()
Returns the maximum admissible number of data elements for node where
this constraint is specified.
|
Integer |
getMinElements()
Returns the minimum required number of data elements for node where this
constraint is specified.
|
Set<MustDefinition> |
getMustConstraints()
Specifies the rules which the node which contains
must YANG
substatement has to match. |
RevisionAwareXPath |
getWhenCondition()
Specifies the condition when the data node which contains
when YANG substatement has to be present. |
boolean |
isMandatory()
Expreses if the presence of the data element for which this constraint is
specified is|isn't required.
|
RevisionAwareXPath getWhenCondition()
when
YANG substatement has to be present. If XPath
expression is evaluated as true then the data node has to be present.Set<MustDefinition> getMustConstraints()
must
YANG
substatement has to match.MustDefinition
(XPath) instances which
represents the concrete data constraintsboolean isMandatory()
mandatory
YANG keyword argument =
truemandatory
YANG keyword argument =
false@Nullable Integer getMinElements()
@Nullable Integer getMaxElements()
Copyright © 2018 OpenDaylight. All rights reserved.