org.apache.bval
Annotation Type Validate


@Target(value={METHOD,FIELD,CONSTRUCTOR,PARAMETER})
@Retention(value=RUNTIME)
public @interface Validate

Description: Annotate an element (parameter) to be validated.


Optional Element Summary
 Class<?>[] groups
          to Support groups on @Valid(ate) in method/return validation
 String value
          (optional) the MetaBean.id to use
 

value

public abstract String value
(optional) the MetaBean.id to use

Default:
""

groups

public abstract Class<?>[] groups
to Support groups on @Valid(ate) in method/return validation

Default:
{}


Copyright © 2010-2012 Apache Software Foundation. All Rights Reserved.