com.is.jrf
Class TimestampJoinColumn

java.lang.Object
  |
  +--com.is.jrf.JoinColumn
        |
        +--com.is.jrf.TimestampJoinColumn

public class TimestampJoinColumn
extends JoinColumn

This subclass of JoinColumn represents a Timestamp column we want joined from another table.


Field Summary
protected static java.lang.Class s_class
           
 
Fields inherited from class com.is.jrf.JoinColumn
i_columnAlias, i_columnName, i_setter
 
Constructor Summary
TimestampJoinColumn(java.lang.String columnName, java.lang.String setterName)
          Construct an instance that is ready to be used.
TimestampJoinColumn(java.lang.String columnName, java.lang.String columnAlias, java.lang.String setterName)
          Construct an instance that is ready to be used.
 
Method Summary
 java.lang.Class getColumnClass()
           
 java.lang.Object getColumnValueFrom(JDBCHelper helper)
          This is usually overridden by subclasses to explicitly specify the type of object to be retrieved from the result set in JDBCHelper.
 
Methods inherited from class com.is.jrf.JoinColumn
buildSelectColumnString, copyColumnValueToPersistentObject, getColumnAlias, getColumnName, getSetter, setColumnAlias, setColumnName, setSetter
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

s_class

protected static final java.lang.Class s_class
Constructor Detail

TimestampJoinColumn

public TimestampJoinColumn(java.lang.String columnName,
                           java.lang.String setterName)
Construct an instance that is ready to be used.
Parameters:
columnName - a value of type 'Timestamp' - can include the alias like this: "Name PersonName"
setterName - a value of type 'Timestamp'

TimestampJoinColumn

public TimestampJoinColumn(java.lang.String columnName,
                           java.lang.String columnAlias,
                           java.lang.String setterName)
Construct an instance that is ready to be used.
Parameters:
columnName - a value of type 'String'
columnAlias - a value of type 'String'
setterName - a value of type 'String'
Method Detail

getColumnValueFrom

public java.lang.Object getColumnValueFrom(JDBCHelper helper)
                                    throws java.sql.SQLException
Description copied from class: JoinColumn
This is usually overridden by subclasses to explicitly specify the type of object to be retrieved from the result set in JDBCHelper.
Overrides:
getColumnValueFrom in class JoinColumn
Following copied from class: com.is.jrf.JoinColumn
Parameters:
helper - a value of type 'JDBCHelper'
Returns:
a value of type 'Object'
Throws:
java.sql.SQLException - if an error occurs

getColumnClass

public java.lang.Class getColumnClass()
Overrides:
getColumnClass in class JoinColumn