Package org.hippoecm.frontend.validation
Class ValidationResult
- java.lang.Object
-
- org.hippoecm.frontend.validation.ValidationResult
-
- All Implemented Interfaces:
Serializable
,org.apache.wicket.model.IDetachable
,org.apache.wicket.util.io.IClusterable
,IValidationResult
public class ValidationResult extends Object implements IValidationResult
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ValidationResult()
ValidationResult(Set<Violation> violations)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
detach()
int
getAffectedFields()
Set<Violation>
getViolations()
boolean
isValid()
void
setViolations(Set<Violation> violations)
-
-
-
Method Detail
-
getViolations
public Set<Violation> getViolations()
- Specified by:
getViolations
in interfaceIValidationResult
-
isValid
public boolean isValid()
- Specified by:
isValid
in interfaceIValidationResult
-
getAffectedFields
public int getAffectedFields()
-
detach
public void detach()
- Specified by:
detach
in interfaceorg.apache.wicket.model.IDetachable
-
-