public class TransformedHeader extends Object
HeaderTransformer
obtained from
Nested.headerTransformer()
when nested classes are used to process beans.Constructor and Description |
---|
TransformedHeader(AnnotatedElement target,
HeaderTransformer transformer) |
Modifier and Type | Method and Description |
---|---|
String |
describe() |
int |
getHeaderIndex()
Returns the index that determines which column the current field represents, as specified by
Parsed.index() |
String |
getHeaderName()
Returns the name to be used as a header based on a given field and its
Parsed annotation. |
AnnotatedElement |
getTarget()
Returns the
AnnotatedElement used to read/write values from/to. |
String |
getTargetName()
Returns the original attribute name of the field in its containing class.
|
boolean |
isReadOly()
Returns
true if this AnnotatedElement is a Method with no parameters and a return type which can only be used
for reading values from the java bean. |
boolean |
isWriteOnly()
Returns
true if this AnnotatedElement is a Method with parameters and can only be used
for writing values into the java bean. |
public TransformedHeader(AnnotatedElement target, HeaderTransformer transformer)
public String getHeaderName()
Parsed
annotation.public int getHeaderIndex()
Parsed.index()
public String getTargetName()
public AnnotatedElement getTarget()
AnnotatedElement
used to read/write values from/to.public boolean isWriteOnly()
true
if this AnnotatedElement
is a Method
with parameters and can only be used
for writing values into the java bean.public boolean isReadOly()
true
if this AnnotatedElement
is a Method
with no parameters and a return type which can only be used
for reading values from the java bean.public String describe()
Copyright © 2023 Univocity Software Pty Ltd. All rights reserved.