程序包 gu.sql2java
类 IBeanConverter.AbstractHandle<L,R>
java.lang.Object
gu.sql2java.IBeanConverter.AbstractHandle<L,R>
- 类型参数:
L- left typeR- right type
- 所有已实现的接口:
IBeanConverter<L,R>
- 直接已知子类:
BeanConverter,MapConverter
- 封闭接口:
IBeanConverter<L,R>
public abstract static class IBeanConverter.AbstractHandle<L,R>
extends Object
implements IBeanConverter<L,R>
Default abstract implementation of
IBeanConverter- 作者:
- guyadong
-
嵌套类概要
从接口继承的嵌套类/接口 gu.sql2java.IBeanConverter
IBeanConverter.AbstractHandle<L,R> -
字段概要
字段 -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明protected abstract voiddoFromRight(L left, R right) copy right TO left, left and right must not be nullprotected abstract voidcopy left TO right, left and right must not be nullfromRight(Collection<R> beans) return an new list converted from R beanscopy rights TO leftsreturn an new list converted from R beansreturn an new map with L key and L value converted from map with R key and R valueL[]copy rights TO leftscopy right TO leftreturn an new instance converted from R beanL[]return an new array converted from R beansfromRightKey(Map<R, V> rmap) return an new map with L key converted from map with R keyfromRightValue(Map<K, R> rmap) return an new map with L value converted from map with R valueprotected static <T> TnewInstance(Class<T> clazz) protected LCreates a new L instance by calling constructor with an empty argument list
you must override the method if the L class haven't default constructor.protected RCreates a new R instance by calling constructor with an empty argument list
you must override the method if the R class haven't default constructor.toRight(Collection<L> beans) an new list converted from L beansreturn an new list converted from L beanscopy lefts TO rightsan new map with R key and R value converted from map with L key and L valuereturn an new instance converted from L beanR[]an new array converted from L beansR[]copy lefts TO rightscopy left TO righttoRightKey(Map<L, V> lmap) return an new map with R key converted from map with L keytoRightValue(Map<K, L> lmap) return an new map with R value converted from map with L value
-
字段详细资料
-
leftType
L type -
rightType
R type
-
-
构造器详细资料
-
AbstractHandle
public AbstractHandle() -
AbstractHandle
-
-
方法详细资料
-
doFromRight
copy right TO left, left and right must not be null- 参数:
left-right-
-
doToRight
copy left TO right, left and right must not be null- 参数:
left-right-
-
newInstanceL
Creates a new L instance by calling constructor with an empty argument list
you must override the method if the L class haven't default constructor.- 返回:
- L instance
-
newInstanceR
Creates a new R instance by calling constructor with an empty argument list
you must override the method if the R class haven't default constructor.- 返回:
- R instance
-
newInstance
-
fromRight
从接口复制的说明:IBeanConvertercopy right TO left- 指定者:
fromRight在接口中IBeanConverter<L,R> - 返回:
- left,or new instance if left is null
-
toRight
从接口复制的说明:IBeanConvertercopy left TO right- 指定者:
toRight在接口中IBeanConverter<L,R> - 返回:
- right,or new instance if right is null
-
fromRight
从接口复制的说明:IBeanConverterreturn an new instance converted from R bean- 指定者:
fromRight在接口中IBeanConverter<L,R> - 返回:
- L bean
-
toRight
从接口复制的说明:IBeanConverterreturn an new instance converted from L bean- 指定者:
toRight在接口中IBeanConverter<L,R> - 返回:
- R bean
-
toRight
从接口复制的说明:IBeanConvertercopy lefts TO rights- 指定者:
toRight在接口中IBeanConverter<L,R> - 返回:
- rights,or new array if rights is null
-
fromRight
从接口复制的说明:IBeanConvertercopy rights TO lefts- 指定者:
fromRight在接口中IBeanConverter<L,R> - 返回:
- lefts,or new array if lefts is null
-
toRight
从接口复制的说明:IBeanConverteran new array converted from L beans- 指定者:
toRight在接口中IBeanConverter<L,R> - 返回:
- R bean array
-
fromRight
从接口复制的说明:IBeanConverterreturn an new array converted from R beans- 指定者:
fromRight在接口中IBeanConverter<L,R> - 返回:
- L bean array
-
toRight
从接口复制的说明:IBeanConverteran new list converted from L beans- 指定者:
toRight在接口中IBeanConverter<L,R> - 返回:
- R bean list
-
fromRight
从接口复制的说明:IBeanConverterreturn an new list converted from R beans- 指定者:
fromRight在接口中IBeanConverter<L,R> - 返回:
- L bean list
-
toRight
从接口复制的说明:IBeanConvertercopy lefts TO rights- 指定者:
toRight在接口中IBeanConverter<L,R> - 返回:
- rights,or new array if rights is null
-
fromRight
从接口复制的说明:IBeanConvertercopy rights TO lefts- 指定者:
fromRight在接口中IBeanConverter<L,R> - 返回:
- lefts,or new array if lefts is null
-
toRight
从接口复制的说明:IBeanConverterreturn an new list converted from L beans- 指定者:
toRight在接口中IBeanConverter<L,R> - 返回:
- R bean list
-
fromRight
从接口复制的说明:IBeanConverterreturn an new list converted from R beans- 指定者:
fromRight在接口中IBeanConverter<L,R> - 返回:
- L bean list
-
toRightKey
从接口复制的说明:IBeanConverterreturn an new map with R key converted from map with L key- 指定者:
toRightKey在接口中IBeanConverter<L,R> - 返回:
- Map with R key
-
toRightValue
从接口复制的说明:IBeanConverterreturn an new map with R value converted from map with L value- 指定者:
toRightValue在接口中IBeanConverter<L,R> - 返回:
- Map with R value
-
fromRightKey
从接口复制的说明:IBeanConverterreturn an new map with L key converted from map with R key- 指定者:
fromRightKey在接口中IBeanConverter<L,R> - 返回:
- Map with L key
-
fromRightValue
从接口复制的说明:IBeanConverterreturn an new map with L value converted from map with R value- 指定者:
fromRightValue在接口中IBeanConverter<L,R> - 返回:
- Map with L value
-
toRight
从接口复制的说明:IBeanConverteran new map with R key and R value converted from map with L key and L value- 指定者:
toRight在接口中IBeanConverter<L,R> - 返回:
- Map with R key and value
-
fromRight
从接口复制的说明:IBeanConverterreturn an new map with L key and L value converted from map with R key and R value- 指定者:
fromRight在接口中IBeanConverter<L,R> - 返回:
- Map with L key and value
-