Package com.mendix.core.objectmanagement
Class DataValidationInfo
java.lang.Object
com.mendix.core.objectmanagement.DataValidationInfo
Contains failed validation information.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addErrorField
(String memberName, String message) Add a failed validation message for an attribute.void
addErrorField
(String memberName, String message, List<IDataValidation> failedValidations) Add a failed validation message and list of failed validations for an attribute.void
addErrorField
(String memberName, List<IDataValidation> failedValidations) Add a list of failed validations for an attribute.boolean
A map from attribute name to the failed validation message.List of failed validations.guid()
The id of the object which contain the validated attributes.int
hashCode()
toString()
-
Constructor Details
-
DataValidationInfo
-
-
Method Details
-
guid
The id of the object which contain the validated attributes.- Returns:
- id of the object which contain the validated attributes
-
errorFields
A map from attribute name to the failed validation message.- Returns:
- map from attribute name to the failed validation message
-
addErrorField
Add a failed validation message for an attribute. If there was a previous value for an attribute it will be over written. -
addErrorField
public void addErrorField(String memberName, String message, List<IDataValidation> failedValidations) Add a failed validation message and list of failed validations for an attribute. If there was a previous value for an attribute it will be over written. -
addErrorField
Add a list of failed validations for an attribute. If there was a previous value for an attribute it will be over written. -
failedValidations
List of failed validations.- Returns:
- list of failed validations
-
toString
-
equals
-
hashCode
public int hashCode()
-