ninja.validation
Annotation Type WithValidator


@Retention(value=RUNTIME)
@Target(value=ANNOTATION_TYPE)
public @interface WithValidator

Indicates that the annotation should have this validator class applied to it

Author:
James Roper

Required Element Summary
 Class<? extends Validator<?>> value
          Validator that should be used to validate parameters annotated with this annotation.
 

Element Detail

value

public abstract Class<? extends Validator<?>> value
Validator that should be used to validate parameters annotated with this annotation.

Returns:
The validator class


Copyright © 2012. All Rights Reserved.