com.is.jrf
Class IntegerJoinColumn
java.lang.Object
|
+--com.is.jrf.JoinColumn
|
+--com.is.jrf.IntegerJoinColumn
- public class IntegerJoinColumn
- extends JoinColumn
This subclass of JoinColumn represents an Integer column we want joined
from another table.
Field Summary |
protected static java.lang.Class |
s_class
|
Constructor Summary |
IntegerJoinColumn(java.lang.String columnName,
java.lang.String setterName)
Construct an instance that is ready to be used. |
IntegerJoinColumn(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 java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
s_class
protected static java.lang.Class s_class
IntegerJoinColumn
public IntegerJoinColumn(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'
IntegerJoinColumn
public IntegerJoinColumn(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'
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