public abstract class AbsModel extends java.lang.Object implements IValidatableObject
Constructor and Description |
---|
AbsModel() |
Modifier and Type | Method and Description |
---|---|
abstract boolean |
isValid(java.util.List<java.lang.String> errors)
abstract valid methode. for check if object are valid.
|
java.util.List<java.lang.String> |
Validate()
check if object valid
|
public abstract boolean isValid(java.util.List<java.lang.String> errors)
errors
- a list of errors.public java.util.List<java.lang.String> Validate()
IValidatableObject
Validate
in interface IValidatableObject