Interface ElementCountConstraintAware
- All Known Subinterfaces:
LeafListSchemaNode
,ListSchemaNode
- All Known Implementing Classes:
EmptyLeafListEffectiveStatement
,EmptyListEffectiveStatement
,RegularLeafListEffectiveStatement
,RegularListEffectiveStatement
,SlimLeafListEffectiveStatement
Common interface for list-like nodes, which can optionally have constraints on the number of direct children.
- Author:
- Robert Varga
-
Method Summary
Modifier and TypeMethodDescriptionReturn the constraint on the number of child nodes.
-
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.
-