net.sourceforge.annovalidator.validation.annotations
Annotation Type ValidationStep


@Target(value=FIELD)
@Retention(value=RUNTIME)
public @interface ValidationStep

Annotation for denoting that the annotated field should only be validated when the step argument in AnnotatedObjectValidator.validate(Object, BindingResult, int) matches one of the numbers in value.


Required Element Summary
 int[] value
          A list of steps in which the annotated field should be validated.
 

Element Detail

value

public abstract int[] value
A list of steps in which the annotated field should be validated.



Copyright © 2008. All Rights Reserved.