Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

com.mockobjects.eziba.sql
Class ReflectiveResultSetRowGenerator  view ReflectiveResultSetRowGenerator download ReflectiveResultSetRowGenerator.java

java.lang.Object
  extended bycom.mockobjects.eziba.sql.ReflectiveResultSetRowGenerator
All Implemented Interfaces:
ResultSetRowGenerator

public class ReflectiveResultSetRowGenerator
extends java.lang.Object
implements ResultSetRowGenerator


Field Summary
private  java.lang.String[] m_propertyNames
           
 
Constructor Summary
ReflectiveResultSetRowGenerator(java.lang.String[] p_propertyNames)
           
 
Method Summary
private  void choke(java.lang.Throwable p_throwable, java.lang.Object p_obj, java.lang.String p_colName)
           
 java.lang.Object[] createRow(java.lang.Object p_sourceObj)
           
private  java.lang.Object getColumnData(java.lang.Object p_obj, java.lang.String p_colName)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

m_propertyNames

private final java.lang.String[] m_propertyNames
Constructor Detail

ReflectiveResultSetRowGenerator

public ReflectiveResultSetRowGenerator(java.lang.String[] p_propertyNames)
Method Detail

createRow

public java.lang.Object[] createRow(java.lang.Object p_sourceObj)
                             throws java.sql.SQLException
Specified by:
createRow in interface ResultSetRowGenerator

getColumnData

private java.lang.Object getColumnData(java.lang.Object p_obj,
                                       java.lang.String p_colName)
                                throws java.sql.SQLException

choke

private void choke(java.lang.Throwable p_throwable,
                   java.lang.Object p_obj,
                   java.lang.String p_colName)
            throws java.sql.SQLException