Annotation Type UniqueString


  • @Target(FIELD)
    @Retention(RUNTIME)
    @Documented
    public @interface UniqueString
    Provides the annotation for a unique string. Set the value to the prefix.
    • Optional Element Summary

      Optional Elements 
      Modifier and Type Optional Element Description
      java.lang.String prefix
      The value of the unique string prefix.
      java.lang.String separator
      The separator to use between unique components.
    • Element Detail

      • prefix

        java.lang.String prefix
        The value of the unique string prefix.
        Returns:
        by default, the word unique.
        Default:
        "unique"
      • separator

        java.lang.String separator
        The separator to use between unique components.
        Returns:
        by default, '_'
        Default:
        "_"