Class CSticRelatedFieldError

  • All Implemented Interfaces:
    java.io.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:
    Serialized Form
    • Constructor Summary

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

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean equals​(java.lang.Object obj)  
      CsticData getCstic()  
      int hashCode()  
      • 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
      • Methods inherited from class java.lang.Object

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

      • CSticRelatedFieldError

        public CSticRelatedFieldError​(CsticData cstic,
                                      java.lang.String path,
                                      java.lang.String rejectedValue,
                                      java.lang.String[] errorCodes,
                                      java.lang.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 Detail

      • 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​(java.lang.Object obj)
        Overrides:
        equals in class org.springframework.validation.FieldError