Interface MustDefinition
-
- All Superinterfaces:
ConstraintMetaDefinition
,DocumentedNode
public interface MustDefinition extends ConstraintMetaDefinition
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 Abstract Methods Modifier and Type Method Description RevisionAwareXPath
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
-
-
-
-
Method Detail
-
getXpath
RevisionAwareXPath getXpath()
Returns XPath expression which contains constraint.- Returns:
- XPath expression which represents the value of the argument of
the
must
YANG substatement
-
-