it.amattioli.dominate.validation
Class ValidationResult
java.lang.Object
it.amattioli.dominate.validation.ValidationResult
public class ValidationResult
- extends Object
The result of a validation performed by a Validator
- Author:
- andrea
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ValidationResult
public ValidationResult(ValidationResult.ResultType type,
String message)
getType
public ValidationResult.ResultType getType()
- The type of this result. Could be VALID or INVALID
- Returns:
getMessage
public String getMessage()
- The message associated with this result. Tipically makes sense only for
INVALID results
- Returns:
Copyright © 2011. All Rights Reserved.