@Retention(value=RUNTIME)
@Target(value=TYPE)
public @interface JpaResource
The annotation corresponds to the default JsonApiResource annotation,
but with the additional benefit of reading JPA annotations to detect primary
keys, relationships, etc. without having to define redudant Crnk
annotations.
| Modifier and Type | Required Element and Description |
|---|---|
java.lang.String |
type
Defines the type of the resource.
|