Interface MustDefinition
-
- All Superinterfaces:
ConstraintMetaDefinition
,DocumentedNode
,EffectiveStatementEquivalent<MustEffectiveStatement>
- All Known Implementing Classes:
EmptyMustEffectiveStatement
,RegularMustEffectiveStatement
public interface MustDefinition extends ConstraintMetaDefinition, EffectiveStatementEquivalent<MustEffectiveStatement>
Contains methods for accessing constraint declaration for valid data in form of XPath expressions.
YANG example:
must "ifType != 'ethernet' or (ifType = 'ethernet' and ifMTU = 1500)";
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.opendaylight.yangtools.yang.model.api.DocumentedNode
DocumentedNode.WithStatus
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default YangXPathExpression.QualifiedBound
getXpath()
Returns XPath expression which contains constraint.-
Methods inherited from interface org.opendaylight.yangtools.yang.model.api.ConstraintMetaDefinition
getErrorAppTag, getErrorMessage
-
Methods inherited from interface org.opendaylight.yangtools.yang.model.api.DocumentedNode
getDescription, getReference, getUnknownSchemaNodes
-
Methods inherited from interface org.opendaylight.yangtools.yang.model.api.EffectiveStatementEquivalent
asEffectiveStatement
-
-
-
-
Method Detail
-
getXpath
default YangXPathExpression.QualifiedBound getXpath()
Returns XPath expression which contains constraint.- Returns:
- XPath expression which represents the value of the argument of the
must
YANG substatement.
-
-