public final class IdentityConverter<T> extends Object implements Converter<T,T>
Constructor and Description |
---|
IdentityConverter(Class<T> type) |
Modifier and Type | Method and Description |
---|---|
T |
from(T t)
Convert a database object to a user object
|
Class<T> |
fromType()
The database type
|
T |
to(T t)
Convert a user object to a database object
|
String |
toString() |
Class<T> |
toType()
The user type
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
andThen, inverse, of, ofNullable
public final T from(T t)
Converter
public final T to(T t)
Converter
public final Class<T> fromType()
Converter
Copyright © 2020. All rights reserved.