Class ConfigError
java.lang.Object
com.broadleafcommerce.cart.client.domain.ConfigError
- All Implemented Interfaces:
Serializable
Used to inform what configuration errors may exist on a cart item via
CartItem.getAttributeConfigErrors()
and CartItem.getGlobalConfigErrors()
- Author:
- Chad Harchar (charchar)
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
boolean
The error code for this configuration error.The error message for this configuration error.int
hashCode()
void
setErrorCode
(String errorCode) The error code for this configuration error.void
setErrorMessage
(String errorMessage) The error message for this configuration error.toString()
-
Constructor Details
-
ConfigError
public ConfigError() -
ConfigError
-
-
Method Details
-
getErrorCode
The error code for this configuration error. Intended to be used with auditing or mapping to a human readable explanation.- Returns:
- The error code for this configuration error. Intended to be used with auditing or mapping to a human readable explanation.
-
getErrorMessage
The error message for this configuration error. Intended to be shown to the customer as a human readable explanation.- Returns:
- The error message for this configuration error. Intended to be shown to the customer as a human readable explanation.
-
setErrorCode
The error code for this configuration error. Intended to be used with auditing or mapping to a human readable explanation.- Parameters:
errorCode
- The error code for this configuration error. Intended to be used with auditing or mapping to a human readable explanation.
-
setErrorMessage
The error message for this configuration error. Intended to be shown to the customer as a human readable explanation.- Parameters:
errorMessage
- The error message for this configuration error. Intended to be shown to the customer as a human readable explanation.
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-