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.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
-
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
-