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