Class ValidationError

java.lang.Object
org.springframework.validation.AbstractErrors
org.springframework.validation.AbstractBindingResult
de.hybris.platform.cmsfacades.exception.ValidationError
All Implemented Interfaces:
Serializable, org.springframework.validation.BindingResult, org.springframework.validation.Errors

public class ValidationError extends org.springframework.validation.AbstractBindingResult
Error class to be used for testing purpose only; implements the Errors interface.
See Also:
  • Field Summary

    Fields inherited from interface org.springframework.validation.BindingResult

    MODEL_KEY_PREFIX

    Fields inherited from interface org.springframework.validation.Errors

    NESTED_PATH_SEPARATOR
  • Constructor Summary

    Constructors
    Constructor
    Description
    ValidationError(String objectName)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected Object
     
     

    Methods inherited from class org.springframework.validation.AbstractBindingResult

    addAllErrors, addError, equals, findEditor, formatFieldValue, getAllErrors, getErrorCount, getFieldError, getFieldError, getFieldErrors, getFieldErrors, getFieldType, getFieldValue, getGlobalError, getGlobalErrors, getMessageCodesResolver, getModel, getObjectName, getPropertyEditorRegistry, getRawFieldValue, getSuppressedFields, hasErrors, hashCode, recordFieldValue, recordSuppressedField, reject, rejectValue, resolveMessageCodes, resolveMessageCodes, setMessageCodesResolver

    Methods inherited from class org.springframework.validation.AbstractErrors

    canonicalFieldName, doSetNestedPath, fixedField, getFieldErrorCount, getFieldErrorCount, getGlobalErrorCount, getNestedPath, hasFieldErrors, hasFieldErrors, hasGlobalErrors, isMatchingFieldError, popNestedPath, pushNestedPath, reject, reject, rejectValue, rejectValue, setNestedPath, toString

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait

    Methods inherited from interface org.springframework.validation.Errors

    getFieldErrorCount, getFieldErrorCount, getGlobalErrorCount, getNestedPath, hasFieldErrors, hasFieldErrors, hasGlobalErrors, popNestedPath, pushNestedPath, reject, reject, rejectValue, rejectValue, setNestedPath
  • Constructor Details

    • ValidationError

      public ValidationError(String objectName)
  • Method Details

    • getTarget

      public Object getTarget()
      Specified by:
      getTarget in interface org.springframework.validation.BindingResult
      Specified by:
      getTarget in class org.springframework.validation.AbstractBindingResult
    • getActualFieldValue

      protected Object getActualFieldValue(String s)
      Specified by:
      getActualFieldValue in class org.springframework.validation.AbstractBindingResult