| java.lang.Object org.jicengine.operation.ReflectionUtils org.jicengine.operation.BeanUtils
BeanUtils | public class BeanUtils extends ReflectionUtils (Code) | | Utilities for manipulating beans through reflection.
Copyright (C) 2004 Timo Laitinen
author: Timo Laitinen since: JICE-0.10 |
toGetterMethodName | public static String toGetterMethodName(String property)(Code) | | Transforms a property-name to a corresponding getter-method name.
for example 'name' -> 'getName'
|
toSetterMethodName | public static String toSetterMethodName(String property)(Code) | | Transforms a property-name to a corresponding setter-method name.
for example 'name' -> 'setName'
|
Methods inherited from org.jicengine.operation.ReflectionUtils | protected static Class getActorClass(Object instanceOrClass)(Code)(Java Doc) protected static String getArgumentTypeList(Object[] arguments)(Code)(Java Doc) public static Object getFieldValue(Object instance, Class ownerClass, String fieldName) throws Exception(Code)(Java Doc) protected static Class[] getTypes(Object[] parameters)(Code)(Java Doc) public static Object instantiate(Class instantiatedClass, Object[] arguments) throws java.lang.NoSuchMethodException, InstantiationException, IllegalAccessException, InvocationTargetException(Code)(Java Doc) public static Object invokeMethod(Object actor, String methodName, Object[] arguments) throws java.lang.NoSuchMethodException, IllegalAccessException, IllegalArgumentException, InvocationTargetException(Code)(Java Doc) public static Object invokeStaticMethod(Class actorClass, String methodName, Object[] arguments) throws java.lang.NoSuchMethodException, IllegalAccessException, IllegalArgumentException, InvocationTargetException(Code)(Java Doc) public static boolean isAssignableFrom(Class class1, Class class2)(Code)(Java Doc) protected static Class primitiveTypeToWrapperType(Class primitiveType)(Code)(Java Doc) protected static Class primitiveWrapperToPrimitiveType(Class objectClass)(Code)(Java Doc) public static void setFieldValue(Object instance, Class ownerClass, String fieldName, Object fieldValue) throws Exception(Code)(Java Doc)
|
|
|