public abstract class AbstractValidateable extends Object implements Validateable
Modifier and Type | Field and Description |
---|---|
protected ConstraintsEvaluator |
constraintsEvaluator |
protected ConstraintsValidator |
constraintsValidator |
Constructor and Description |
---|
AbstractValidateable() |
Modifier and Type | Method and Description |
---|---|
Map<String,ConstrainedProperty> |
constrainedProperties() |
Errors |
getErrors() |
boolean |
validate(List<String> properties) |
boolean |
validate(String... properties) |
@Inject protected ConstraintsValidator constraintsValidator
@Inject protected ConstraintsEvaluator constraintsEvaluator
public boolean validate(String... properties)
validate
in interface Validateable
public boolean validate(@Nonnull List<String> properties)
validate
in interface Validateable
@Nonnull public Errors getErrors()
getErrors
in interface Validateable
@Nonnull public Map<String,ConstrainedProperty> constrainedProperties()
constrainedProperties
in interface Validateable