Class FieldValidationResult
java.lang.Object
ch.tocco.nice2.validate.api.result.AbstractValidationResult
ch.tocco.nice2.validate.api.result.FieldValidationResult
- All Implemented Interfaces:
ValidationResult
The result from a validation operation.
-
Nested Class Summary
Nested classes/interfaces inherited from class ch.tocco.nice2.validate.api.result.AbstractValidationResult
AbstractValidationResult.Status
-
Field Summary
Fields inherited from class ch.tocco.nice2.validate.api.result.AbstractValidationResult
children, messages, status, validatorClass, validatorName
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
accept
(ValidationResultVisitor visitor) static FieldValidationResult
static FieldValidationResult
static FieldValidationResult
static FieldValidationResult
@Nullable String
@Nullable String
void
setEntityName
(@Nullable String entityName) void
setFieldName
(String fieldName) Methods inherited from class ch.tocco.nice2.validate.api.result.AbstractValidationResult
_toString, addChild, addChildAndCheckStatus, getChildren, getIndent, getMessages, getName, getStatus, getValidatorClass, getValidatorName, setError, setMessage, setStatus, setValidationHint, setValidatorClass, setValidatorName, simplePrint, toString, toString
-
Constructor Details
-
FieldValidationResult
public FieldValidationResult()
-
-
Method Details
-
createInstance
-
createOkInstance
-
createErrorInstance
-
createWarningInstance
-
getFieldName
-
setFieldName
-
getEntityName
-
setEntityName
-
accept
-