Class ConstraintViolation.PathNode

java.lang.Object
org.nuxeo.ecm.core.api.validation.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 Details

    • PathNode

      public PathNode(Field field)
    • PathNode

      public PathNode(Field field, int index)
  • Method Details

    • getField

      public Field getField()
    • getIndex

      public int getIndex()
    • isListItem

      public boolean isListItem()
    • toString

      public String toString()
      Overrides:
      toString in class Object