com.ibatis.sqlmap.engine.mapping.result
public class ResultMapping extends Object
| Method Summary | |
|---|---|
| int | getColumnIndex()
Getter for the column index that we are mapping
|
| String | getColumnName()
Getter for the column name that we are mapping
|
| String | getErrorString()
Getter for the error message when something goes wrong mapping this property
|
| Class | getJavaType()
Setter for the Java type of the column
|
| int | getJdbcType()
Getter for the JDBC type of the column
|
| String | getJdbcTypeName()
Getter for the JDBC type name of the column
|
| String | getNestedResultMapName() |
| String | getNotNullColumn()
Getter for the name of the column to check for null before instantiating a nested resultMapping value
|
| String | getNullValue()
Getter for what to return if the column is null
|
| String | getPropertyName() |
| String | getStatementName()
Getter for the name of the statement
|
| TypeHandler | getTypeHandler()
Getter for the type handler for the column
|
| void | setColumnIndex(int columnIndex)
Setter for the column index we are mapping (used by the automap or builder)
|
| void | setColumnName(String columnName)
Setter for the column name we are mapping (used by the automap or builder)
|
| void | setJavaType(Class javaType)
Setter for the Java type of the column
|
| void | setJdbcTypeName(String jdbcTypeName)
Setter for the JDBC type name of the column
|
| void | setNestedResultMapName(String nestedResultMapName) |
| void | setNotNullColumn(String notNullColumn)
Setter for the name of the column to check for null before instantiating a nested resultMapping value
|
| void | setNullValue(String nullValue)
Setter for what to return if the column is null
|
| void | setPropertyName(String propertyName)
Setter for the object property name (used by the automap, and the builder)
|
| void | setStatementName(String statementName)
Setter for the name of the statement
|
| void | setTypeHandler(TypeHandler typeHandler)
Setter for the type handler for the column |
Returns: - the column index
Returns: - the column name
Returns: - the error message
Returns: - the Java type
Returns: - the JDBC type
Returns: - the JDBC type name
Returns: - the null substitution
Returns: - the null substitution
Returns: - the name
Returns: - the type handler
Parameters: columnIndex - the column index
Parameters: columnName - the column name
Parameters: javaType - the Java type
Parameters: jdbcTypeName - the JDBC type name
Parameters: notNullColumn - the column name
Parameters: nullValue - the null substitution
Parameters: propertyName - the property name
Parameters: statementName - the name
Parameters: typeHandler - the type handler