|
Spring Hateoas | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | |||||||||
@Target(value={TYPE,ANNOTATION_TYPE})
@Retention(value=RUNTIME)
public @interface Relation
Annotation to configure the relation to be used when embedding objects in HAL representations of Resources
and Resources.
| Optional Element Summary | |
|---|---|
String |
collectionRelation
Defines the relation to be used when referring to a collection of resources. |
String |
value
Defines the relation to be used when referring to a single resource. |
public abstract String value
public abstract String collectionRelation
|
Spring Hateoas | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | |||||||||