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