org.nakedobjects.applib.annotation
Annotation Type RegEx
@Inherited
@Target(value={TYPE,METHOD,PARAMETER})
@Retention(value=RUNTIME)
public @interface RegEx
Provides a regular expression that a value entry should conform to, and can be formatted as.
Can also be specified for types that are annotated as @Value types. To apply, the value must have string semantics.
validation
public abstract String validation
format
public abstract String format
- Default:
- ""
caseSensitive
public abstract boolean caseSensitive
- Default:
- true
Copyright © 2001-2009 Naked Objects Group Ltd.. All Rights Reserved.