com.hyper9.simdk.ws.util
Class TypeUtil
java.lang.Object
com.hyper9.simdk.ws.util.TypeUtil
public class TypeUtil
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TypeUtil
public TypeUtil()
getBeanInfo
public static BeanInfo getBeanInfo(Object object)
throws Exception
- Throws:
Exception
getRealClass
public static Class<?> getRealClass(Class<?> proxyClass)
throws Exception
- Throws:
Exception
getGenericListType
public static Class<?> getGenericListType(Method method)
throws Exception
- Throws:
Exception
getColumnName
public static String getColumnName(Class<?> clazz,
String propertyName)
- Gets the column name the given property maps to.
- Parameters:
clazz
- The class the property belongs to.propertyName
- The name of the property.
- Returns:
- The column name the given property maps to.
Copyright © 2009-2010 Hyper9. All Rights Reserved.