public class RegisterType extends Object
Convertible
dataConstructor and Description |
---|
RegisterType() |
Modifier and Type | Method and Description |
---|---|
Convertible<Object,Object> |
getConverter(Class classType) |
boolean |
isEmpty() |
void |
register(Convertible convertible) |
<T,R> Convertible<Object,Object> |
toAttribute(JdbcColumn<R> column,
ObjectProxy<T> proxy)
Retrieve a
Convertible instance to customize the
value of database to class field. |
<T> Convertible<Object,Object> |
toJdbc(PropertyAccess access,
ObjectProxy<T> proxy)
Retrieve a
Convertible instance to customize the
value of database to class field. |
public RegisterType()
public void register(Convertible convertible)
public <T> Convertible<Object,Object> toJdbc(PropertyAccess access, ObjectProxy<T> proxy)
Convertible
instance to customize the
value of database to class field.T
- type of object into proxy referenceaccess
- for propertyproxy
- of return type from queryNoConverterType
instance when the field or method is not annotated.public Convertible<Object,Object> getConverter(Class classType)
public <T,R> Convertible<Object,Object> toAttribute(JdbcColumn<R> column, ObjectProxy<T> proxy)
Convertible
instance to customize the
value of database to class field.T
- type of object into proxy referenceR
- the result of a query (like a ResultSet
column
- metadata of itproxy
- of return type from queryNoConverterType
instance when the field or method is not annotated.public boolean isEmpty()
Copyright © 2012–2020 jkniv, copyleft code. All rights reserved.