Package org.apache.ibatis.mapping
Class ParameterMapping.Builder
- java.lang.Object
-
- org.apache.ibatis.mapping.ParameterMapping.Builder
-
- Enclosing class:
- ParameterMapping
public static class ParameterMapping.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder(Configuration configuration, java.lang.String property, java.lang.Class<?> javaType)
Builder(Configuration configuration, java.lang.String property, TypeHandler<?> typeHandler)
-
Method Summary
Modifier and Type Method Description ParameterMapping
build()
ParameterMapping.Builder
expression(java.lang.String expression)
ParameterMapping.Builder
javaType(java.lang.Class<?> javaType)
ParameterMapping.Builder
jdbcType(JdbcType jdbcType)
ParameterMapping.Builder
jdbcTypeName(java.lang.String jdbcTypeName)
ParameterMapping.Builder
mode(ParameterMode mode)
ParameterMapping.Builder
numericScale(java.lang.Integer numericScale)
ParameterMapping.Builder
resultMapId(java.lang.String resultMapId)
ParameterMapping.Builder
typeHandler(TypeHandler<?> typeHandler)
-
-
-
Constructor Detail
-
Builder
public Builder(Configuration configuration, java.lang.String property, TypeHandler<?> typeHandler)
-
Builder
public Builder(Configuration configuration, java.lang.String property, java.lang.Class<?> javaType)
-
-
Method Detail
-
mode
public ParameterMapping.Builder mode(ParameterMode mode)
-
javaType
public ParameterMapping.Builder javaType(java.lang.Class<?> javaType)
-
jdbcType
public ParameterMapping.Builder jdbcType(JdbcType jdbcType)
-
numericScale
public ParameterMapping.Builder numericScale(java.lang.Integer numericScale)
-
resultMapId
public ParameterMapping.Builder resultMapId(java.lang.String resultMapId)
-
typeHandler
public ParameterMapping.Builder typeHandler(TypeHandler<?> typeHandler)
-
jdbcTypeName
public ParameterMapping.Builder jdbcTypeName(java.lang.String jdbcTypeName)
-
expression
public ParameterMapping.Builder expression(java.lang.String expression)
-
build
public ParameterMapping build()
-
-