Client and backend. This class is shared: the same code is compiled into your app and into your server, so everything on this page works in both.
@Retention(CLASS) @Target({FIELD})
public @interface MapKey
Uses a target attribute as the key of an entity relationship Map.
Methods
public abstract String name() | Selects the target entity attribute used as keys in a relationship Map. |
Method details
name
public abstract String name()Selects the target entity attribute used as keys in a relationship Map.
Returns
Java attribute name