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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbooleanThe validation rules.getType()The type of validation, e.g.,STRING,NUMBER,BOOLEAN, etc.inthashCode()voidsetMethods(List<ValidationMethod> methods) The validation rules.voidThe 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
-