javax.validation
Annotation Type Valid


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

Marks a property, method parameter or method return type for validation cascading.

Constraints defined on the object and its properties are be validated when the property, method parameter or method return type is validated.

This behavior is applied recursively.

Author:
Emmanuel Bernard, Hardy Ferentschik



Copyright © 2007-2013 Red Hat Inc. All Rights Reserved. Released under the Apache Software License 2.0.