Class CompleteEntityValidationResult
java.lang.Object
ch.tocco.nice2.validate.api.result.AbstractValidationResult
ch.tocco.nice2.persist.core.api.entity.validators.CompleteEntityValidationResult
- All Implemented Interfaces:
ValidationResult
Validation result for complete entity validation. Single field validations or validations that are connected to a
specific field can and should be added as
FieldValidationResult
via
AbstractValidationResult.addChild(AbstractValidationResult)
.-
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) @Nullable String
getName()
void
Methods inherited from class ch.tocco.nice2.validate.api.result.AbstractValidationResult
_toString, addChild, addChildAndCheckStatus, getChildren, getIndent, getMessages, getStatus, getValidatorClass, getValidatorName, setError, setMessage, setStatus, setValidationHint, setValidatorClass, setValidatorName, simplePrint, toString, toString
-
Constructor Details
-
CompleteEntityValidationResult
public CompleteEntityValidationResult() -
CompleteEntityValidationResult
-
-
Method Details
-
getName
- Overrides:
getName
in classAbstractValidationResult
-
getEntityName
-
getEntity
-
setEntity
-
accept
-