|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |
@Target(value={METHOD,FIELD}) @Retention(value=RUNTIME) @Documented public @interface ResourceID
Marks this property as this resource's ID in URI templates.
Suppose this resource can be accessed using the URI template /orders/{name},
and your resource holds the name bean property, then your
name property should be annotated with @ResourceID
.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |