Annotation Type SpecStringInArray


  • @Retention(RUNTIME)
    @Target(FIELD)
    public @interface SpecStringInArray
    Specifies that the value of a field must be a String that is contained in a certain array.
    • Required Element Summary

      Required Elements 
      Modifier and Type Required Element Description
      java.lang.String[] value  
    • Optional Element Summary

      Optional Elements 
      Modifier and Type Optional Element Description
      boolean ignoreCase  
    • Element Detail

      • value

        java.lang.String[] value
        Returns:
        the values that are allowed
      • ignoreCase

        boolean ignoreCase
        Returns:
        true to ignore the case, false to check the case. Default is false.
        Default:
        false