Interface ElementCountConstraintAware

All Known Subinterfaces:
LeafListSchemaNode, ListSchemaNode
All Known Implementing Classes:
EmptyLeafListEffectiveStatement, EmptyListEffectiveStatement, RegularLeafListEffectiveStatement, RegularListEffectiveStatement, SlimLeafListEffectiveStatement

@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 Details

    • getElementCountConstraint

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