Class ValidationMethod
java.lang.Object
com.broadleafcommerce.catalog.domain.product.type.validation.ValidationMethod
- All Implemented Interfaces:
Serializable
Represents a validation rule for a
ValidationSchema
.- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
boolean
getArgs()
Arguments to pass into the validation method.An error message to dispaly if theBusinessTypeField
fails validation.getName()
Name of the method to use to validate a method.int
hashCode()
void
Arguments to pass into the validation method.void
setMessage
(String message) An error message to dispaly if theBusinessTypeField
fails validation.void
Name of the method to use to validate a method.toString()
-
Constructor Details
-
ValidationMethod
public ValidationMethod()
-
-
Method Details
-
getName
Name of the method to use to validate a method. Seecom.broadleafcommerce.metadata.dsl.core.utils.ValidationMethods
. -
getMessage
An error message to dispaly if theBusinessTypeField
fails validation. -
getArgs
Arguments to pass into the validation method. -
setName
Name of the method to use to validate a method. Seecom.broadleafcommerce.metadata.dsl.core.utils.ValidationMethods
. -
setMessage
An error message to dispaly if theBusinessTypeField
fails validation. -
setArgs
Arguments to pass into the validation method. -
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-