Class CSticRelatedFieldError

java.lang.Object
org.springframework.context.support.DefaultMessageSourceResolvable
org.springframework.validation.ObjectError
org.springframework.validation.FieldError
de.hybris.platform.sap.productconfig.frontend.validator.CSticRelatedFieldError
All Implemented Interfaces:
Serializable, org.springframework.context.MessageSourceResolvable
Direct Known Subclasses:
ConflictError, MandatoryFieldError

public class CSticRelatedFieldError extends org.springframework.validation.FieldError
A FieldError which can be associated with a cstic on the UI.
See Also:
  • Constructor Summary

    Constructors
    Constructor
    Description
    CSticRelatedFieldError(CsticData cstic, String path, String rejectedValue, String[] errorCodes, String defaultMessage)
    Default constructor.
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
     
     
    int
     

    Methods inherited from class org.springframework.validation.FieldError

    getField, getRejectedValue, isBindingFailure, toString

    Methods inherited from class org.springframework.validation.ObjectError

    contains, getObjectName, unwrap, wrap

    Methods inherited from class org.springframework.context.support.DefaultMessageSourceResolvable

    getArguments, getCode, getCodes, getDefaultMessage, resolvableToString, shouldRenderDefaultMessage

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • CSticRelatedFieldError

      public CSticRelatedFieldError(CsticData cstic, String path, String rejectedValue, String[] errorCodes, String defaultMessage)
      Default constructor.
      Parameters:
      cstic - cstic causing the error
      path - path to the UI field causing the error
      rejectedValue - user input causing the error
      errorCodes - error codes
      defaultMessage - message to be displayed on the UI
  • Method Details

    • getCstic

      public CsticData getCstic()
      Returns:
      cstic causing this error
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class org.springframework.validation.FieldError
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class org.springframework.validation.FieldError