@Retention(RUNTIME)
@Inherited
@Target({FIELD,METHOD,ANNOTATION_TYPE})
public @interface Nested
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.Modifier and Type | Optional Element | Description |
---|---|---|
java.lang.String[] |
args |
An optional sequence of arguments for creating an instance of the given
headerTransformer() . |
java.lang.Class<? extends HeaderTransformer> |
headerTransformer |
Provides a
HeaderTransformer for reassigning header names/positions of the nested class. |
java.lang.Class |
type |
Defines the concrete type of nested object to be instantiated, if it has to be a subclass of the declared attribute type.
|
java.lang.Class type
java.lang.Class<? extends HeaderTransformer> headerTransformer
HeaderTransformer
for reassigning header names/positions of the nested class.java.lang.String[] args
headerTransformer()
.HeaderTransformer