com.is.jrf
Class BooleanJoinColumn

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

public class BooleanJoinColumn
extends JoinColumn

This subclass of JoinColumn represents an Boolean 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
BooleanJoinColumn(java.lang.String columnName, java.lang.String setterName)
          Construct an instance that is ready to be used.
BooleanJoinColumn(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 java.lang.Class s_class
Constructor Detail

BooleanJoinColumn

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

BooleanJoinColumn

public BooleanJoinColumn(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
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
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