Annotation Type RId


@Retention(RUNTIME) @Target(FIELD) public @interface RId
Specifies that the field is a Live Object's id field. Only single field could be specified per class.
Author:
Rui Gu (https://github.com/jackygurui)
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    Class<? extends RIdResolver<?>>
    (Optional) Live Object id generator.
  • Element Details

    • generator

      Class<? extends RIdResolver<?>> generator
      (Optional) Live Object id generator. By default id is required to be fill during object creation.
      See Also:
      Default:
      org.redisson.liveobject.resolver.RequiredIdResolver.class