com.hyper9.simdk.ws.util
Class TypeUtil

java.lang.Object
  extended by com.hyper9.simdk.ws.util.TypeUtil

public class TypeUtil
extends Object


Constructor Summary
TypeUtil()
           
 
Method Summary
static BeanInfo getBeanInfo(Object object)
           
static String getColumnName(Class<?> clazz, String propertyName)
          Gets the column name the given property maps to.
static Class<?> getGenericListType(Method method)
           
static Class<?> getRealClass(Class<?> proxyClass)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TypeUtil

public TypeUtil()
Method Detail

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.