Class IValidationResult.ValidationResult
- java.lang.Object
-
- net.anwiba.commons.utilities.validation.IValidationResult.ValidationResult
-
- All Implemented Interfaces:
IValidationResult
- Enclosing interface:
- IValidationResult
public static final class IValidationResult.ValidationResult extends java.lang.Object implements IValidationResult
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface net.anwiba.commons.utilities.validation.IValidationResult
IValidationResult.ValidationResult
-
-
Constructor Summary
Constructors Constructor Description ValidationResult(boolean isValid, java.lang.String message)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object obj)java.lang.StringgetMessage()inthashCode()booleanisValid()-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface net.anwiba.commons.utilities.validation.IValidationResult
ifValid, otherwise
-
-
-
-
Method Detail
-
isValid
public boolean isValid()
- Specified by:
isValidin interfaceIValidationResult
-
getMessage
public java.lang.String getMessage()
- Specified by:
getMessagein interfaceIValidationResult
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equalsin classjava.lang.Object
-
-