|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<JavaBeanAccessor>
com.alibaba.dubbo.common.beanutil.JavaBeanAccessor
public enum JavaBeanAccessor
| Enum Constant Summary | |
|---|---|
ALL
Method prefer to field. |
|
FIELD
Field accessor. |
|
METHOD
Method accessor. |
|
| Method Summary | |
|---|---|
static boolean |
isAccessByField(JavaBeanAccessor accessor)
|
static boolean |
isAccessByMethod(JavaBeanAccessor accessor)
|
static JavaBeanAccessor |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static JavaBeanAccessor[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
| Methods inherited from class java.lang.Enum |
|---|
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final JavaBeanAccessor FIELD
public static final JavaBeanAccessor METHOD
public static final JavaBeanAccessor ALL
| Method Detail |
|---|
public static JavaBeanAccessor[] values()
for (JavaBeanAccessor c : JavaBeanAccessor.values()) System.out.println(c);
public static JavaBeanAccessor valueOf(String name)
name - the name of the enum constant to be returned.
IllegalArgumentException - if this enum type has no constant
with the specified name
NullPointerException - if the argument is nullpublic static boolean isAccessByMethod(JavaBeanAccessor accessor)
public static boolean isAccessByField(JavaBeanAccessor accessor)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||