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 classParameterMapping.Builder
-
Field Summary
Fields Modifier and Type Field Description private Configurationconfigurationprivate java.lang.Stringexpressionprivate java.lang.Class<?>javaTypeprivate JdbcTypejdbcTypeprivate java.lang.StringjdbcTypeNameprivate ParameterModemodeprivate java.lang.IntegernumericScaleprivate java.lang.Stringpropertyprivate java.lang.StringresultMapIdprivate TypeHandler<?>typeHandler
-
Constructor Summary
Constructors Modifier Constructor Description privateParameterMapping()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetExpression()Expression 'Not used'.java.lang.Class<?>getJavaType()Used for handling output of callable statements.JdbcTypegetJdbcType()Used in the UnknownTypeHandler in case there is no handler for the property type.java.lang.StringgetJdbcTypeName()Used for handling output of callable statements.ParameterModegetMode()Used for handling output of callable statements.java.lang.IntegergetNumericScale()Used for handling output of callable statements.java.lang.StringgetProperty()java.lang.StringgetResultMapId()Used for handling output of callable statements.TypeHandler<?>getTypeHandler()Used when setting parameters to the PreparedStatement.java.lang.StringtoString()
-
-
-
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:
toStringin classjava.lang.Object
-
-