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<?>> generator
      (Optional) Live Object id generator.
    • Element Detail

      • generator

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