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 Object
-
-
Constructor Summary
Constructors Constructor Description Builder(Configuration configuration, String property, Class<?> javaType)
Builder(Configuration configuration, String property, TypeHandler<?> typeHandler)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ParameterMapping
build()
ParameterMapping.Builder
expression(String expression)
ParameterMapping.Builder
javaType(Class<?> javaType)
ParameterMapping.Builder
jdbcType(JdbcType jdbcType)
ParameterMapping.Builder
jdbcTypeName(String jdbcTypeName)
ParameterMapping.Builder
mode(ParameterMode mode)
ParameterMapping.Builder
numericScale(Integer numericScale)
ParameterMapping.Builder
resultMapId(String resultMapId)
ParameterMapping.Builder
typeHandler(TypeHandler<?> typeHandler)
-
-
-
Constructor Detail
-
Builder
public Builder(Configuration configuration, String property, TypeHandler<?> typeHandler)
-
Builder
public Builder(Configuration configuration, String property, Class<?> javaType)
-
-
Method Detail
-
mode
public ParameterMapping.Builder mode(ParameterMode mode)
-
javaType
public ParameterMapping.Builder javaType(Class<?> javaType)
-
jdbcType
public ParameterMapping.Builder jdbcType(JdbcType jdbcType)
-
numericScale
public ParameterMapping.Builder numericScale(Integer numericScale)
-
resultMapId
public ParameterMapping.Builder resultMapId(String resultMapId)
-
typeHandler
public ParameterMapping.Builder typeHandler(TypeHandler<?> typeHandler)
-
jdbcTypeName
public ParameterMapping.Builder jdbcTypeName(String jdbcTypeName)
-
expression
public ParameterMapping.Builder expression(String expression)
-
build
public ParameterMapping build()
-
-