org.apache.ibatis.mapping
Class ResultMapping.Builder

java.lang.Object
  extended by org.apache.ibatis.mapping.ResultMapping.Builder
Enclosing class:
ResultMapping

public static class ResultMapping.Builder
extends Object


Constructor Summary
ResultMapping.Builder(Configuration configuration, String property)
           
ResultMapping.Builder(Configuration configuration, String property, String column, Class<?> javaType)
           
ResultMapping.Builder(Configuration configuration, String property, String column, TypeHandler<?> typeHandler)
           
 
Method Summary
 ResultMapping build()
           
 ResultMapping.Builder column(String column)
           
 ResultMapping.Builder columnPrefix(String columnPrefix)
           
 ResultMapping.Builder composites(List<ResultMapping> composites)
           
 ResultMapping.Builder flags(List<ResultFlag> flags)
           
 ResultMapping.Builder javaType(Class<?> javaType)
           
 ResultMapping.Builder jdbcType(JdbcType jdbcType)
           
 ResultMapping.Builder nestedQueryId(String nestedQueryId)
           
 ResultMapping.Builder nestedResultMapId(String nestedResultMapId)
           
 ResultMapping.Builder notNullColumns(Set<String> notNullColumns)
           
 ResultMapping.Builder typeHandler(TypeHandler<?> typeHandler)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ResultMapping.Builder

public ResultMapping.Builder(Configuration configuration,
                             String property,
                             String column,
                             TypeHandler<?> typeHandler)

ResultMapping.Builder

public ResultMapping.Builder(Configuration configuration,
                             String property,
                             String column,
                             Class<?> javaType)

ResultMapping.Builder

public ResultMapping.Builder(Configuration configuration,
                             String property)
Method Detail

javaType

public ResultMapping.Builder javaType(Class<?> javaType)

jdbcType

public ResultMapping.Builder jdbcType(JdbcType jdbcType)

nestedResultMapId

public ResultMapping.Builder nestedResultMapId(String nestedResultMapId)

nestedQueryId

public ResultMapping.Builder nestedQueryId(String nestedQueryId)

notNullColumns

public ResultMapping.Builder notNullColumns(Set<String> notNullColumns)

columnPrefix

public ResultMapping.Builder columnPrefix(String columnPrefix)

flags

public ResultMapping.Builder flags(List<ResultFlag> flags)

typeHandler

public ResultMapping.Builder typeHandler(TypeHandler<?> typeHandler)

composites

public ResultMapping.Builder composites(List<ResultMapping> composites)

build

public ResultMapping build()

column

public ResultMapping.Builder column(String column)


Copyright © 2010-2012 MyBatis.org. All Rights Reserved.