com.poscoict.glueframework.util
Class GlueReflectionSupport<T>

java.lang.Object
  extended by com.poscoict.glueframework.util.GlueReflectionSupport<T>

public class GlueReflectionSupport<T>
extends Object


Constructor Summary
GlueReflectionSupport()
           
 
Method Summary
 void generateGetterMethodMap(String[] names, T item)
           
 T generateObject(Class<?> type, List<String> tokens, String[] names)
           
 void generateSetterMethodMap(Class<?> type, String[] names)
           
 void getFieldType(Class<?> type, String[] names)
           
 HashMap<String,Method> getMethodMap()
           
 String[] getSqlTypeArray(String[] params, Object item)
           
 Object invokeGettterMethod(T item, String names)
           
 Object invokeGettterMethod(T item, String param, Map<String,Method> mapMethod)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GlueReflectionSupport

public GlueReflectionSupport()
Method Detail

getMethodMap

public HashMap<String,Method> getMethodMap()

generateSetterMethodMap

public void generateSetterMethodMap(Class<?> type,
                                    String[] names)
                             throws Exception
Throws:
Exception

generateObject

public T generateObject(Class<?> type,
                        List<String> tokens,
                        String[] names)

generateGetterMethodMap

public void generateGetterMethodMap(String[] names,
                                    T item)
                             throws Exception
Throws:
Exception

invokeGettterMethod

public Object invokeGettterMethod(T item,
                                  String names)

invokeGettterMethod

public Object invokeGettterMethod(T item,
                                  String param,
                                  Map<String,Method> mapMethod)

getFieldType

public void getFieldType(Class<?> type,
                         String[] names)

getSqlTypeArray

public String[] getSqlTypeArray(String[] params,
                                Object item)


Copyright © 2013–2016 POSCO ICT. All rights reserved.