public class DelegatingConverter<T,U> extends AbstractConverter<T,U>
Constructor and Description |
---|
DelegatingConverter(Converter<T,U> delegate) |
Modifier and Type | Method and Description |
---|---|
U |
from(T t)
Convert a database object to a user object
|
T |
to(U u)
Convert a user object to a database object
|
String |
toString() |
fromType, toType
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
andThen, inverse, of, ofNullable
public final U from(T t)
Converter
t
- The database objectpublic final T to(U u)
Converter
u
- The user objectpublic String toString()
toString
in class AbstractConverter<T,U>
Copyright © 2019. All rights reserved.