Annotation Interface DatabaseIdentifier


@Target({METHOD,FIELD,ANNOTATION_TYPE,CONSTRUCTOR,PARAMETER}) @Retention(RUNTIME) @Constraint(validatedBy=CheckDatabaseIdentifier.class) @Documented public @interface DatabaseIdentifier
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    boolean
     
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    Class<?>[]
     
     
    Class<? extends jakarta.validation.Payload>[]
     
  • Element Details

    • mandatory

      boolean mandatory
    • message

      String message
      Default:
      "{com.github.mizool.core.validation.DatabaseIdentifier.message}"
    • groups

      Class<?>[] groups
      Default:
      {}
    • payload

      Class<? extends jakarta.validation.Payload>[] payload
      Default:
      {}