Annotation Interface Relation
Annotation to configure the relation to be used when embedding objects in HAL representations of
EntityModel
s
and CollectionModel
.- Author:
- Alexander Baetz, Oliver Gierke
-
Optional Element Summary
Modifier and TypeOptional ElementDescriptionDefines the relation to be used when referring to a collection of resources.Defines the relation to be used when referring to a single resource.Defines the relation to be used when referring to a single resource. -
Field Summary
-
Field Details
-
NO_RELATION
- See Also:
-
-
Element Details
-
value
Defines the relation to be used when referring to a single resource. Alias foritemRelation()
.- Returns:
- Default:
- ""
-
itemRelation
Defines the relation to be used when referring to a single resource. Alias ofvalue()
.- Returns:
- Default:
- ""
-
collectionRelation
String collectionRelationDefines the relation to be used when referring to a collection of resources.- Returns:
- Default:
- ""
-