|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.ibatis.sqlmap.engine.mapping.result.BasicResultMapping
Basic implementation of ResultMapping
Constructor Summary | |
BasicResultMapping()
|
Method Summary | |
int |
getColumnIndex()
Getter for the column index that we are mapping |
java.lang.String |
getColumnName()
Getter for the column name that we are mapping |
java.lang.String |
getErrorString()
Getter for the error message when something goes wrong mapping this property |
java.lang.Class |
getJavaType()
Setter for the Java type of the column |
int |
getJdbcType()
Getter for the JDBC type of the column |
java.lang.String |
getJdbcTypeName()
Getter for the JDBC type name of the column |
java.lang.String |
getNestedResultMapName()
|
java.lang.String |
getNullValue()
Getter for what to return if the column is null |
java.lang.String |
getPropertyName()
Getter for the property this will do mapping for |
java.lang.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(java.lang.String columnName)
Setter for the column name we are mapping (used by the automap or builder) |
void |
setJavaType(java.lang.Class javaType)
Setter for the Java type of the column |
void |
setJdbcTypeName(java.lang.String jdbcTypeName)
Setter for the JDBC type name of the column |
void |
setNestedResultMapName(java.lang.String nestedResultMapName)
|
void |
setNullValue(java.lang.String nullValue)
Setter for what to return if the column is null |
void |
setPropertyName(java.lang.String propertyName)
Setter for the object property name (used by the automap, and the builder) |
void |
setStatementName(java.lang.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 BasicResultMapping()
Method Detail |
public java.lang.String getPropertyName()
ResultMapping
getPropertyName
in interface ResultMapping
public void setPropertyName(java.lang.String propertyName)
propertyName
- - the property namepublic java.lang.String getErrorString()
public java.lang.String getColumnName()
public void setColumnName(java.lang.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 java.lang.Class getJavaType()
public void setJavaType(java.lang.Class javaType)
javaType
- - the Java typepublic int getJdbcType()
public java.lang.String getJdbcTypeName()
public void setJdbcTypeName(java.lang.String jdbcTypeName)
jdbcTypeName
- - the JDBC type namepublic java.lang.String getNullValue()
public void setNullValue(java.lang.String nullValue)
nullValue
- - the null substitutionpublic java.lang.String getStatementName()
public void setStatementName(java.lang.String statementName)
statementName
- - the namepublic java.lang.String getNestedResultMapName()
public void setNestedResultMapName(java.lang.String nestedResultMapName)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |