Class ConstraintViolation.PathNode

  • Enclosing class:
    ConstraintViolation

    public static class ConstraintViolation.PathNode
    extends Object
    Allows to locates some constraint violation in a document.

    getIndex() are used to indicates which element violates the constraint for list properties.

    Since:
    7.1
    • Constructor Detail

      • PathNode

        public PathNode​(Field field)
      • PathNode

        public PathNode​(Field field,
                        int index)
    • Method Detail

      • getField

        public Field getField()
      • getIndex

        public int getIndex()
      • isListItem

        public boolean isListItem()