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
|
java.lang.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 java.lang.String toString()
toString
in class AbstractConverter<T,U>
Copyright © 2018. All Rights Reserved.