|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |
@Target(value={METHOD,FIELD}) @Retention(value=RUNTIME) @Documented public @interface ParentResource
Marks an entity's parent which will be used to resolve any parent ID used in path parameters.
For example, if an entity needs its parent ID and its ID in the path of a resource method, we
will use this entity's @XmlID
id, and its parent's, in
reverse order, to form the path parameter list (from the furthest parent, to this entity).
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |