net.mlw.vlh.adapter.jdbc
Class AbstractDynaJdbcAdapter

java.lang.Object
  extended bynet.mlw.vlh.adapter.AbstractValueListAdapter
      extended bynet.mlw.vlh.adapter.jdbc.AbstractJdbcAdapter
          extended bynet.mlw.vlh.adapter.jdbc.AbstractDynaJdbcAdapter
All Implemented Interfaces:
ValueListAdapter
Direct Known Subclasses:
DefaultDynaBeanAdapter, DefaultDynclassAdapter

public abstract class AbstractDynaJdbcAdapter
extends AbstractJdbcAdapter

This adapter handles the standard functionality of creating a query and execution it... net.mlw.vlh.adapter.jdbc.AbstractJdbcAdapter

Version:
$Revision: 1.2 $ $Date: 2005/08/19 16:06:29 $
Author:
Matthew L. Wilson, Andrej Zachar

Field Summary
 
Fields inherited from interface net.mlw.vlh.ValueListAdapter
DO_FILTER, DO_FOCUS, DO_NOTHING, DO_PAGE, DO_SORT
 
Constructor Summary
AbstractDynaJdbcAdapter()
           
 
Method Summary
 boolean isLowerCase()
           
 boolean isUseName()
           
 void setLowerCase(boolean lowerCase)
          Sets weather the name of the column should be lowecase;
 void setUseName(boolean useName)
          Sets weather the name of the column, or the alias of the column is used.
 
Methods inherited from class net.mlw.vlh.adapter.jdbc.AbstractJdbcAdapter
getConnectionCreator, getDataSource, getSql, getSqlPagingSupport, getStatementBuilder, getValidator, getValueList, isShowSql, processResultSet, setConnectionCreator, setDataSource, setShowSql, setSql, setSqlPagingSupport, setStatementBuilder, setValidator
 
Methods inherited from class net.mlw.vlh.adapter.AbstractValueListAdapter
getAdapterType, getDefaultNumberPerPage, getDefaultSortColumn, getDefaultSortDirectionInteger, setAdapterType, setDefaultNumberPerPage, setDefaultSortColumn, setDefaultSortDirection
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractDynaJdbcAdapter

public AbstractDynaJdbcAdapter()
Method Detail

isUseName

public boolean isUseName()

setUseName

public void setUseName(boolean useName)
Sets weather the name of the column, or the alias of the column is used. For example:

SELECT X as Y from dual; X = name Y = alias

Parameters:
useName - true: use the name of the column false: use the name of the alias

isLowerCase

public boolean isLowerCase()

setLowerCase

public void setLowerCase(boolean lowerCase)
Sets weather the name of the column should be lowecase;

Parameters:
lowerCase -


Copyright © 2003-2006 mlavilson. All Rights Reserved.