Interface EffectiveStatementMixins.WhenConditionMixin<A,​D extends DeclaredStatement<A>>

    • Method Detail

      • getWhenCondition

        default Optional<YangXPathExpression.QualifiedBound> getWhenCondition()
        Description copied from interface: WhenConditionAware
        Returns when statement.

        If when condition is present node defined by the parent data definition statement is only valid when the returned XPath expression conceptually evaluates to "true" for a particular instance, then the node defined by the parent data definition statement is valid; otherwise, it is not.

        Specified by:
        getWhenCondition in interface WhenConditionAware
        Returns:
        XPath condition