public class RequiredParam<T> extends Object
valid. If no validation test is provided the parameter will be marked
as valid ONLY IF it is not null and if it is a string it must not be empty. Those are the two default validations
done anything else must be done with a custom Validator| Modifier and Type | Field and Description |
|---|---|
protected boolean |
valid |
protected T |
value |
| Constructor and Description |
|---|
RequiredParam(T value,
boolean valid) |
Copyright © 2012-2015. All Rights Reserved.