|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.univocity.parsers.annotations.helpers.TransformedHeader
public class TransformedHeader
A pair associating a Field of an annotated class to an optional HeaderTransformer obtained from
Nested.headerTransformer() when nested classes are used to process beans.
| Constructor Summary | |
|---|---|
TransformedHeader(AnnotatedElement target,
HeaderTransformer transformer)
|
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TransformedHeader(AnnotatedElement target,
HeaderTransformer transformer)
| Method Detail |
|---|
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()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||