Annotation Interface KeyPrefix
@Target(TYPE)
@Retention(RUNTIME)
@Documented
@Repeatable(KeyPrefix.Container.class)
public @interface KeyPrefix
Sets a static prefix for a composite key component.
When present on a class, the value() is prepended to the
computed key value for the named component() at runtime,
separated by a # character.
This annotation is Repeatable, allowing multiple prefixes for
different key components on the same entity class.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic @interfaceContainer annotation for repeatable@KeyPrefix. -
Required Element Summary
Required Elements