|
SPT Core API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | |||||||||
@Documented @Inherited @Retention(value=RUNTIME) @Target(value=FIELD) public @interface Constraints
Annotation type used to list the constraints on view components. These may be used to perform automatic checking of user input on view components.
© Copyright 2007 Sans Pareil Technologies, Inc.
| Optional Element Summary | |
|---|---|
String |
confirm
The name of a field used to confirm the value entered in this field. |
String |
regex
The regular expression to be applied to check validity of the field. |
Constraints.Value |
value
The constraint to be applied to the field. |
public abstract Constraints.Value value
public abstract String regex
Pattern.public abstract String confirm
password1 and the additional field in which the confirmation
is entered is named password2 this value would be set
to password2.
|
SPT Core API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | |||||||||