Configuration#converterProvider().
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public U | from(T
The database object. t, ConverterContext The context of this conversion. ctx)Implements org. |
| public T | to(U
The user object. u, ConverterContext The context of this conversion. ctx)Implements org. |
| public String | toString()
Returns a string representation of the object.
|
| AutoConverter | back to summary |
|---|---|
| public AutoConverter(Class<T> fromType, Class<U> toType) | |
| from | back to summary |
|---|---|
| public U from(T t, ConverterContext ctx) Implements org. Doc from org. Read and convert a database object to a user object.
| |
| to | back to summary |
|---|---|
| public T to(U u, ConverterContext ctx) Implements org. Doc from org. Convert and write a user object to a database object.
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides org. Doc from java. Returns a string representation of the object. | |