Annotation Interface EntityValidator
@Target({FIELD,ANNOTATION_TYPE,METHOD})
@Retention(RUNTIME)
@Documented
@Autowired
@Qualifier("entityValidator")
public @interface EntityValidator
Annotation to wire the exposed default entity validator.
- Author:
- Arne Vandamme
-
Optional Element Summary
Modifier and TypeOptional ElementDescriptionboolean
Declares whether the annotated dependency is required.
-
Element Details
-
required
boolean requiredDeclares whether the annotated dependency is required.Defaults to
true
.- Default:
- true
-