@Target(value={METHOD,FIELD,PARAMETER}) @Retention(value=RUNTIME) @InjectAnnotation public @interface ChildResource
Modifier and Type | Optional Element and Description |
---|---|
String |
name
Specifies the name of the child resource.
|
boolean |
optional
If set to true, the model can be instantiated even if there is no child resource
with that name available.
|
String |
via
If set, then the child resource can be obtained via a projection of the given
property of the adaptable.
|
public abstract String name
public abstract boolean optional
public abstract String via
Copyright © 2014 The Apache Software Foundation. All rights reserved.