Interface HybrisConstraintViolation

    • Method Detail

      • getConstraintViolation

        javax.validation.ConstraintViolation getConstraintViolation()
        Returns:
        the original ConstraintViolation
      • getProperty

        java.lang.String getProperty()
        Gets the property path from the ConstraintViolation as string.
        Returns:
        the property path from the ConstraintViolation as string
      • getModelName

        java.lang.String getModelName()
        Gets the name of the model which causes the violation.
        Returns:
        the name of the model which causes the violation
      • getTypeName

        java.lang.String getTypeName()
        Gets the name of the model which causes the violation.
        Returns:
        the name of the type which causes the violation
      • getQualifier

        java.lang.String getQualifier()
        Gets the qualifier in the style getTypeName()+"."+getProperty().
        Returns:
        the qualifier in the style getTypeName()+"."+getProperty()
      • getMessageTemplate

        java.lang.String getMessageTemplate()
        Gets the message template from the original ConstraintViolation.
        Returns:
        the message template from the original ConstraintViolation
      • getLocalizedMessage

        java.lang.String getLocalizedMessage()
        Gets a localized message for this violation.
        Returns:
        localized message
      • getViolationSeverity

        Severity getViolationSeverity()
        Gets severity enum of the violation. Default is the Severity.ERROR.
        Returns:
        severity enumeration value