com.uwyn.rife.database.queries
Class QueryHelper

java.lang.Object
  extended by com.uwyn.rife.database.queries.QueryHelper

public abstract class QueryHelper
extends Object


Constructor Summary
QueryHelper()
           
 
Method Summary
static Set<String> getBeanPropertyNames(Class beanClass, String[] excludedFields)
           
static Map<String,Class> getBeanPropertyTypes(Class beanClass, String[] includedFields, String[] excludedFields)
           
static Map<String,String> getBeanPropertyValues(Object bean, String[] includedFields, String[] excludedFields, Datasource datasource)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

QueryHelper

public QueryHelper()
Method Detail

getBeanPropertyNames

public static Set<String> getBeanPropertyNames(Class beanClass,
                                               String[] excludedFields)
                                        throws DbQueryException
Throws:
DbQueryException

getBeanPropertyValues

public static Map<String,String> getBeanPropertyValues(Object bean,
                                                       String[] includedFields,
                                                       String[] excludedFields,
                                                       Datasource datasource)
                                                throws DbQueryException
Throws:
DbQueryException

getBeanPropertyTypes

public static Map<String,Class> getBeanPropertyTypes(Class beanClass,
                                                     String[] includedFields,
                                                     String[] excludedFields)
                                              throws DbQueryException
Throws:
DbQueryException


Copyright © 2001-2007 Uwyn sprl/bvba. All Rights Reserved.