Class HelixBindingResult

java.lang.Object
org.springframework.validation.AbstractErrors
org.springframework.validation.AbstractBindingResult
com.helixframework.validation.HelixBindingResult
All Implemented Interfaces:
Serializable, org.springframework.validation.BindingResult, org.springframework.validation.Errors

public class HelixBindingResult extends org.springframework.validation.AbstractBindingResult
Result of parameter binding for arguments annotated with HelixValidator.
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
    HelixBindingResult(Object target, String objectName)
    Creates a new instance of HelixBindingResult.
  • 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, getNestedPath, isMatchingFieldError, popNestedPath, pushNestedPath, 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

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

    • HelixBindingResult

      public HelixBindingResult(Object target, String objectName)
      Creates a new instance of HelixBindingResult.
      Parameters:
      target - bound object
      objectName - name of bound object
  • 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 field)
      Specified by:
      getActualFieldValue in class org.springframework.validation.AbstractBindingResult