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.int
Gets 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.boolean
Checks if is input allowed.boolean
Checks if is output allowed.void
setJavaType
(Class javaType) Sets the java type.void
setJavaTypeName
(String javaTypeName) Sets the java type name.void
setJdbcTypeName
(String jdbcTypeName) Sets the jdbc type name.void
Sets the mode.void
setNullValue
(String nullValue) Sets the null value.void
setNumericScale
(Integer numericScale) Sets the numeric scale.void
setPropertyName
(String propertyName) Sets the property name.void
setResultMapName
(String resultMapName) Sets the result map name.void
setTypeHandler
(TypeHandler typeHandler) Sets the type handler.void
setTypeName
(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
-