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 Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Optional<ElementCountConstraint>
getElementCountConstraint()
Return the constraint on the number of child nodes.
-
-
-
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.
-
-