Class ConstraintViolationCreationContext

java.lang.Object
de.knightsoftnet.validators.client.impl.ConstraintViolationCreationContext

public class ConstraintViolationCreationContext extends Object
Container class for the information needed to create a constraint violation.
Author:
Hardy Ferentschik
  • Constructor Details

    • ConstraintViolationCreationContext

      public ConstraintViolationCreationContext(String message, org.hibernate.validator.internal.engine.path.PathImpl property)
    • ConstraintViolationCreationContext

      public ConstraintViolationCreationContext(String message, org.hibernate.validator.internal.engine.path.PathImpl property, Map<String,Object> messageParameters, Map<String,Object> expressionVariables, Object dynamicPayload)
      constructor.
      Parameters:
      message - validation message
      property - path of the field
      messageParameters - map of message parameters
      expressionVariables - map of expression variables
      dynamicPayload - object of the payload
  • Method Details

    • getMessage

      public final String getMessage()
    • getPath

      public final org.hibernate.validator.internal.engine.path.PathImpl getPath()
    • getExpressionVariables

      public Map<String,Object> getExpressionVariables()
    • getMessageParameters

      public Map<String,Object> getMessageParameters()
    • getDynamicPayload

      public Object getDynamicPayload()
    • toString

      public String toString()
      Overrides:
      toString in class Object