Class ParameterMapping
java.lang.Object
com.ibatis.sqlmap.engine.mapping.parameter.ParameterMapping
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the error string.Gets the java type.Gets the java type name.intGets the jdbc type.Gets the jdbc type name.getMode()Gets the mode.Gets the null value.Gets the numeric scale.Gets the property name.Gets the result map name.Gets the type handler.user-defined or REF types.booleanChecks if is input allowed.booleanChecks if is output allowed.voidsetJavaType(Class javaType) Sets the java type.voidsetJavaTypeName(String javaTypeName) Sets the java type name.voidsetJdbcTypeName(String jdbcTypeName) Sets the jdbc type name.voidSets the mode.voidsetNullValue(String nullValue) Sets the null value.voidsetNumericScale(Integer numericScale) Sets the numeric scale.voidsetPropertyName(String propertyName) Sets the property name.voidsetResultMapName(String resultMapName) Sets the result map name.voidsetTypeHandler(TypeHandler typeHandler) Sets the type handler.voidsetTypeName(String typeName) for user-defined or REF types.
-
Constructor Details
-
ParameterMapping
public ParameterMapping()Instantiates a new parameter mapping.
-
-
Method Details
-
getNullValue
-
setNullValue
Sets the null value.- Parameters:
nullValue- the new null value
-
getPropertyName
-
setPropertyName
Sets the property name.- Parameters:
propertyName- the new property name
-
getErrorString
-
getTypeHandler
-
setTypeHandler
Sets the type handler.- Parameters:
typeHandler- the new type handler
-
getJavaType
-
setJavaType
Sets the java type.- Parameters:
javaType- the new java type
-
getJavaTypeName
-
setJavaTypeName
Sets the java type name.- Parameters:
javaTypeName- the new java type name
-
getJdbcType
public int getJdbcType()Gets the jdbc type.- Returns:
- the jdbc type
-
getJdbcTypeName
-
setJdbcTypeName
Sets the jdbc type name.- Parameters:
jdbcTypeName- the new jdbc type name
-
getMode
-
setMode
-
isInputAllowed
public boolean isInputAllowed()Checks if is input allowed.- Returns:
- true, if is input allowed
-
isOutputAllowed
public boolean isOutputAllowed()Checks if is output allowed.- Returns:
- true, if is output allowed
-
getTypeName
-
setTypeName
for user-defined or REF types.- Parameters:
typeName- the new type name
-
getResultMapName
-
setResultMapName
Sets the result map name.- Parameters:
resultMapName- the new result map name
-
getNumericScale
-
setNumericScale
Sets the numeric scale.- Parameters:
numericScale- the new numeric scale
-