|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibatis.sqlmap.engine.mapping.result.ResultMapping
public class ResultMapping
Basic implementation of ResultMapping
Constructor Summary | |
---|---|
ResultMapping()
|
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 |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ResultMapping()
Method Detail |
---|
public String getPropertyName()
public void setPropertyName(String propertyName)
propertyName
- - the property namepublic String getErrorString()
public String getColumnName()
public void setColumnName(String columnName)
columnName
- - the column namepublic int getColumnIndex()
public void setColumnIndex(int columnIndex)
columnIndex
- - the column indexpublic TypeHandler getTypeHandler()
public void setTypeHandler(TypeHandler typeHandler)
typeHandler
- - the type handlerpublic Class getJavaType()
public void setJavaType(Class javaType)
javaType
- - the Java typepublic int getJdbcType()
public String getJdbcTypeName()
public void setJdbcTypeName(String jdbcTypeName)
jdbcTypeName
- - the JDBC type namepublic String getNullValue()
public void setNullValue(String nullValue)
nullValue
- - the null substitutionpublic String getNotNullColumn()
public void setNotNullColumn(String notNullColumn)
notNullColumn
- - the column namepublic String getStatementName()
public void setStatementName(String statementName)
statementName
- - the namepublic String getNestedResultMapName()
public void setNestedResultMapName(String nestedResultMapName)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |