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 -
Method Summary
Methods inherited from class org.springframework.validation.FieldError
getField, getRejectedValue, isBindingFailure, toStringMethods inherited from class org.springframework.validation.ObjectError
contains, getObjectName, unwrap, wrapMethods inherited from class org.springframework.context.support.DefaultMessageSourceResolvable
getArguments, getCode, getCodes, getDefaultMessage, resolvableToString, shouldRenderDefaultMessage
-
Constructor Details
-
CSticRelatedFieldError
public CSticRelatedFieldError(CsticData cstic, String path, String rejectedValue, String[] errorCodes, String defaultMessage) Default constructor.- Parameters:
cstic- cstic causing the errorpath- path to the UI field causing the errorrejectedValue- user input causing the errorerrorCodes- error codesdefaultMessage- message to be displayed on the UI
-
-
Method Details
-
getCstic
- Returns:
- cstic causing this error
-
hashCode
public int hashCode()- Overrides:
hashCodein classorg.springframework.validation.FieldError
-
equals
- Overrides:
equalsin classorg.springframework.validation.FieldError
-