@Retention(value=RUNTIME)
@Target(value=PARAMETER)
public @interface ParentId
This annotation should always be used on an ActionRouter
method parameter representing
a parent resource ID.
A PathIdentifierMapper
for the
ID type must exist for Apio to automatically convert it from the request.
Modifier and Type | Required Element and Description |
---|---|
java.lang.Class<? extends Identifier<?>> |
value
Returns the parent resource's class.
|
public abstract java.lang.Class<? extends Identifier<?>> value