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:
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
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 Details
-
getXpath
Returns XPath expression which contains constraint.- Returns:
- XPath expression which represents the value of the argument of the
must
YANG substatement.
-