public enum BeanDescCache extends Enum<BeanDescCache>
Enum Constant and Description |
---|
INSTANCE |
Modifier and Type | Method and Description |
---|---|
BeanDesc |
getBeanDesc(Class<?> beanClass)
获得属性名和
BeanDesc Map映射 |
void |
putBeanDesc(Class<?> beanClass,
BeanDesc BeanDesc)
加入缓存
|
static BeanDescCache |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static BeanDescCache[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BeanDescCache INSTANCE
public static BeanDescCache[] values()
for (BeanDescCache c : BeanDescCache.values()) System.out.println(c);
public static BeanDescCache 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 BeanDesc getBeanDesc(Class<?> beanClass)
BeanDesc
Map映射beanClass
- Bean的类BeanDesc
映射Copyright © 2020. All rights reserved.