Class ValidationSchema
java.lang.Object
com.broadleafcommerce.catalog.domain.product.type.validation.ValidationSchema
- All Implemented Interfaces:
Serializable
Represents validation rules to run against a
BusinessTypeField
. This is a POJO that
stores the same data as is configured in metadata to validate fields.- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
boolean
The validation rules.getType()
The type of validation, e.g.,STRING
,NUMBER
,BOOLEAN
, etc.int
hashCode()
void
setMethods
(List<ValidationMethod> methods) The validation rules.void
The type of validation, e.g.,STRING
,NUMBER
,BOOLEAN
, etc.toString()
-
Constructor Details
-
ValidationSchema
public ValidationSchema()
-
-
Method Details
-
getType
The type of validation, e.g.,STRING
,NUMBER
,BOOLEAN
, etc. Seecom.broadleafcommerce.metadata.dsl.core.utils.ValidationSchemas.Types
. -
getMethods
The validation rules. -
setType
The type of validation, e.g.,STRING
,NUMBER
,BOOLEAN
, etc. Seecom.broadleafcommerce.metadata.dsl.core.utils.ValidationSchemas.Types
. -
setMethods
The validation rules. -
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-