Package org.apache.ibatis.mapping
Class ParameterMapping
- java.lang.Object
-
- org.apache.ibatis.mapping.ParameterMapping
-
public class ParameterMapping extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ParameterMapping.Builder
-
Field Summary
Fields Modifier and Type Field Description private Configuration
configuration
private java.lang.String
expression
private java.lang.Class<?>
javaType
private JdbcType
jdbcType
private java.lang.String
jdbcTypeName
private ParameterMode
mode
private java.lang.Integer
numericScale
private java.lang.String
property
private java.lang.String
resultMapId
private TypeHandler<?>
typeHandler
-
Constructor Summary
Constructors Modifier Constructor Description private
ParameterMapping()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getExpression()
Expression 'Not used'.java.lang.Class<?>
getJavaType()
Used for handling output of callable statements.JdbcType
getJdbcType()
Used in the UnknownTypeHandler in case there is no handler for the property type.java.lang.String
getJdbcTypeName()
Used for handling output of callable statements.ParameterMode
getMode()
Used for handling output of callable statements.java.lang.Integer
getNumericScale()
Used for handling output of callable statements.java.lang.String
getProperty()
java.lang.String
getResultMapId()
Used for handling output of callable statements.TypeHandler<?>
getTypeHandler()
Used when setting parameters to the PreparedStatement.java.lang.String
toString()
-
-
-
Field Detail
-
configuration
private Configuration configuration
-
property
private java.lang.String property
-
mode
private ParameterMode mode
-
javaType
private java.lang.Class<?> javaType
-
jdbcType
private JdbcType jdbcType
-
numericScale
private java.lang.Integer numericScale
-
typeHandler
private TypeHandler<?> typeHandler
-
resultMapId
private java.lang.String resultMapId
-
jdbcTypeName
private java.lang.String jdbcTypeName
-
expression
private java.lang.String expression
-
-
Method Detail
-
getProperty
public java.lang.String getProperty()
-
getMode
public ParameterMode getMode()
Used for handling output of callable statements.- Returns:
- the mode
-
getJavaType
public java.lang.Class<?> getJavaType()
Used for handling output of callable statements.- Returns:
- the java type
-
getJdbcType
public JdbcType getJdbcType()
Used in the UnknownTypeHandler in case there is no handler for the property type.- Returns:
- the jdbc type
-
getNumericScale
public java.lang.Integer getNumericScale()
Used for handling output of callable statements.- Returns:
- the numeric scale
-
getTypeHandler
public TypeHandler<?> getTypeHandler()
Used when setting parameters to the PreparedStatement.- Returns:
- the type handler
-
getResultMapId
public java.lang.String getResultMapId()
Used for handling output of callable statements.- Returns:
- the result map id
-
getJdbcTypeName
public java.lang.String getJdbcTypeName()
Used for handling output of callable statements.- Returns:
- the jdbc type name
-
getExpression
public java.lang.String getExpression()
Expression 'Not used'.- Returns:
- the expression
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-