Annotation Interface GenerateEntityKey


@Target(METHOD) @Retention(RUNTIME) @Documented @Deprecated(since="1.3.0") public @interface GenerateEntityKey
Deprecated.
Deprecated since v1.3.0. Use @GenerateId instead.
Indicates that Kalix should generate an entity key when this method is invoked. The generated entity key is accessible via the entity context supplied in the SDK. A method annotated with this annotation should not be annotated with EntityKey, if it does, an error will be raised. The generated key will be a Version 4 (random) UUID. The UUID will be generated using a cryptographically secure random number generator.
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static enum 
    Deprecated.
     
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    Deprecated.