|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | |||||||||
@Retention(value=RUNTIME)
@Inherited
@Target(value={FIELD,METHOD,ANNOTATION_TYPE})
public @interface Nested
Marks a field as a nested object to be constructed with the values of the current row. It is expected that
the annotated attribute is of a type, or provides an explicit type via the type() option,
that contains one or more Parsed annotations. The given type and its Parsed annotations will
determine which fields from each row should be used to populate the Nested instance.
| Optional Element Summary | |
|---|---|
String[] |
args
An optional sequence of arguments for creating an instance of the given headerTransformer(). |
Class<? extends HeaderTransformer> |
headerTransformer
Provides a HeaderTransformer for reassigning header names/positions of the nested class. |
Class |
type
Defines the concrete type of nested object to be instantiated, if it has to be a subclass of the declared attribute type. |
public abstract Class type
public abstract Class<? extends HeaderTransformer> headerTransformer
HeaderTransformer for reassigning header names/positions of the nested class.
public abstract String[] args
headerTransformer().
HeaderTransformer
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | |||||||||