@Documented @Retention(value=RUNTIME) @Target(value=FIELD) public @interface PreAssignmentValidator
| Modifier and Type | Required Element and Description |
|---|---|
Class<? extends StringValidator> |
validator
Returns the validator that will validate the string.
|
| Modifier and Type | Optional Element and Description |
|---|---|
String |
paramString
This is used to store additional information needed by the
StringValidator. |
public abstract Class<? extends StringValidator> validator
public abstract String paramString
StringValidator.
This could, for example, contain a regular expression that will be
applied to the data.StringValidatorCopyright © 2005–2025. All rights reserved.