Package play.data.validation
Annotation Interface Constraints.Required
- Enclosing class:
- Constraints
@Target({METHOD,FIELD,ANNOTATION_TYPE,CONSTRUCTOR,PARAMETER,TYPE_USE})
@Retention(RUNTIME)
@Constraint(validatedBy=RequiredValidator.class)
@Repeatable(List.class)
public static @interface Constraints.Required
Defines a field as required.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic @interfaceDefines several@Requiredannotations on the same element. -
Optional Element Summary
Optional Elements