Interface ElementCountConstraintAware

  • All Known Subinterfaces:
    LeafListSchemaNode, ListSchemaNode

    @Beta
    public interface ElementCountConstraintAware
    Common interface for list-like nodes, which can optionally have constraints on the number of direct children.
    Author:
    Robert Varga
    • Method Detail

      • getElementCountConstraint

        Optional<ElementCountConstraint> getElementCountConstraint()
        Return the constraint on the number of child nodes.
        Returns:
        the constraint on the number of child nodes, if applicable.