Class ParameterMapping
java.lang.Object
com.ibatis.sqlmap.engine.mapping.parameter.ParameterMapping
The Class 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
Gets the null value.- Returns:
- the null value
-
setNullValue
Sets the null value.- Parameters:
nullValue- the new null value
-
getPropertyName
Gets the property name.- Returns:
- the property name
-
setPropertyName
Sets the property name.- Parameters:
propertyName- the new property name
-
getErrorString
Gets the error string.- Returns:
- the error string
-
getTypeHandler
Gets the type handler.- Returns:
- the type handler
-
setTypeHandler
Sets the type handler.- Parameters:
typeHandler- the new type handler
-
getJavaType
Gets the java type.- Returns:
- the java type
-
setJavaType
Sets the java type.- Parameters:
javaType- the new java type
-
getJavaTypeName
Gets the java type name.- Returns:
- the java type name
-
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
Gets the jdbc type name.- Returns:
- the jdbc type name
-
setJdbcTypeName
Sets the jdbc type name.- Parameters:
jdbcTypeName- the new jdbc type name
-
getMode
Gets the mode.- Returns:
- the mode
-
setMode
Sets the mode.- Parameters:
mode- the new mode
-
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
user-defined or REF types.- Returns:
- typeName
-
setTypeName
for user-defined or REF types.- Parameters:
typeName- the new type name
-
getResultMapName
Gets the result map name.- Returns:
- the result map name
-
setResultMapName
Sets the result map name.- Parameters:
resultMapName- the new result map name
-
getNumericScale
Gets the numeric scale.- Returns:
- the numeric scale
-
setNumericScale
Sets the numeric scale.- Parameters:
numericScale- the new numeric scale
-