public class ObjectAccessorHelper extends Object
| Modifier and Type | Method and Description |
|---|---|
static Field |
getField(Class<?> containerType,
String name) |
static MemberAccessor |
getFieldAccessor(Class<?> containerType,
String name) |
static MemberAccessor |
getFieldAccessor(Class<?> containerType,
String name,
boolean isReadOnly) |
static String |
getGetterName(String name) |
static MemberAccessor |
getMemberAccessor(Class<?> containerType,
String name) |
static MemberAccessor |
getMemberAccessor(Class<?> containerType,
String name,
boolean isReadOnly) |
static Method |
getMethod(Class<?> containerType,
String name) |
static MemberAccessor |
getMethodAccessor(Class<?> containerType,
String getterName,
String setterName) |
static MemberAccessor |
getPropertyAccessor(Class<?> containerType,
String name) |
static MemberAccessor |
getPropertyAccessor(Class<?> containerType,
String name,
boolean IsReadOnly) |
static String |
getPropertyName(String methodName) |
static String |
getSetterName(String name) |
public static Method getMethod(Class<?> containerType, String name) throws NoSuchMethodException
NoSuchMethodExceptionpublic static Field getField(Class<?> containerType, String name) throws NoSuchFieldException
NoSuchFieldExceptionpublic static MemberAccessor getFieldAccessor(Class<?> containerType, String name) throws NoSuchFieldException
NoSuchFieldExceptionpublic static MemberAccessor getFieldAccessor(Class<?> containerType, String name, boolean isReadOnly) throws NoSuchFieldException
NoSuchFieldExceptionpublic static MemberAccessor getPropertyAccessor(Class<?> containerType, String name) throws NoSuchMethodException
NoSuchMethodExceptionpublic static MemberAccessor getPropertyAccessor(Class<?> containerType, String name, boolean IsReadOnly) throws NoSuchMethodException
NoSuchMethodExceptionpublic static MemberAccessor getMethodAccessor(Class<?> containerType, String getterName, String setterName) throws NoSuchMethodException
NoSuchMethodExceptionpublic static MemberAccessor getMemberAccessor(Class<?> containerType, String name) throws NoSuchMemberException
NoSuchMemberExceptionpublic static MemberAccessor getMemberAccessor(Class<?> containerType, String name, boolean isReadOnly) throws NoSuchMemberException
NoSuchMemberExceptionCopyright © 2011 Nuxeo SA. All Rights Reserved.