Annotation Type CollectionKey


  • @Retention(CLASS)
    @Target(METHOD)
    public @interface CollectionKey
    Determines getter of a field which is unique across a set of the same entities within the same context. This field can be used as unique key in map-like access to a collection. For example, in the set of user consents, this can be client ID.
    Author:
    hmlnarik
    • Optional Element Summary

      Optional Elements 
      Modifier and Type Optional Element Description
      int priority
      Priority of this annotation: The higher the value, the more appropriate the annotation is.
    • Element Detail

      • priority

        int priority
        Priority of this annotation: The higher the value, the more appropriate the annotation is.
        Returns:
        Default:
        0