Interface MustDefinition

All Superinterfaces:
ConstraintMetaDefinition, DocumentedNode, EffectiveStatementEquivalent<MustEffectiveStatement>
All Known Implementing Classes:
EmptyMustEffectiveStatement, RegularMustEffectiveStatement

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)";
  • Method Details

    • getXpath

      Returns XPath expression which contains constraint.
      Returns:
      XPath expression which represents the value of the argument of the must YANG substatement.