wt.pds
Class IntrospectionUtil

java.lang.Object
  extended bywt.pds.IntrospectionUtil

public class IntrospectionUtil
extends Object


Field Summary
private static String DELIMITER
           
private static HashMap propertyMap
           
private static HashMap queryNameMap
           
 
Constructor Summary
IntrospectionUtil()
           
 
Method Summary
static String buildKey(Class a_class, String a_propertyName)
           
private static String buildQueryName(ClassInfo a_classInfo, String a_propertyName)
           
static PropertyDescriptor getPropertyDescriptor(ClassInfo a_classInfo, String a_propertyName)
           
static String getQueryName(ClassInfo a_classInfo, String a_propertyName)
           
static String getQueryName(Class a_class, String a_propertyName)
           
static Class getReferenceType(ClassInfo a_sourceClassInfo, String a_propertyName)
           
static Class getReferenceType(Class a_sourceClass, String a_propertyName)
           
private static PropertyDescriptor retrieveProperty(ClassInfo a_classInfo, String a_propertyName)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

propertyMap

private static HashMap propertyMap

queryNameMap

private static HashMap queryNameMap

DELIMITER

private static final String DELIMITER
See Also:
Constant Field Values
Constructor Detail

IntrospectionUtil

public IntrospectionUtil()
Method Detail

getReferenceType

public static Class getReferenceType(Class a_sourceClass,
                                     String a_propertyName)
                              throws WTException
Throws:
WTException

getReferenceType

public static Class getReferenceType(ClassInfo a_sourceClassInfo,
                                     String a_propertyName)
                              throws WTException
Throws:
WTException

getPropertyDescriptor

public static PropertyDescriptor getPropertyDescriptor(ClassInfo a_classInfo,
                                                       String a_propertyName)
                                                throws WTException
Throws:
WTException

getQueryName

public static String getQueryName(Class a_class,
                                  String a_propertyName)
                           throws WTException
Throws:
WTException

getQueryName

public static String getQueryName(ClassInfo a_classInfo,
                                  String a_propertyName)
                           throws WTException
Throws:
WTException

buildKey

public static String buildKey(Class a_class,
                              String a_propertyName)

retrieveProperty

private static PropertyDescriptor retrieveProperty(ClassInfo a_classInfo,
                                                   String a_propertyName)
                                            throws WTException
Throws:
WTException

buildQueryName

private static String buildQueryName(ClassInfo a_classInfo,
                                     String a_propertyName)
                              throws WTException
Throws:
WTException