public enum BeanCopierCache extends Enum<BeanCopierCache>
Enum Constant and Description |
---|
INSTANCE
BeanCopier属性缓存单例
|
Modifier and Type | Method and Description |
---|---|
net.sf.cglib.beans.BeanCopier |
get(Class<?> srcClass,
Class<?> targetClass,
boolean useConverter)
获得类与转换器生成的key在
BeanCopier 的Map中对应的元素 |
net.sf.cglib.beans.BeanCopier |
get(Class<?> srcClass,
Class<?> targetClass,
net.sf.cglib.core.Converter converter)
获得类与转换器生成的key在
BeanCopier 的Map中对应的元素 |
static BeanCopierCache |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static BeanCopierCache[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BeanCopierCache INSTANCE
public static BeanCopierCache[] values()
for (BeanCopierCache c : BeanCopierCache.values()) System.out.println(c);
public static BeanCopierCache valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic net.sf.cglib.beans.BeanCopier get(Class<?> srcClass, Class<?> targetClass, net.sf.cglib.core.Converter converter)
BeanCopier
的Map中对应的元素srcClass
- 源Bean的类targetClass
- 目标Bean的类converter
- 转换器Copyright © 2024. All rights reserved.