Package org.apache.ibatis.mapping
Class ResultMap.Builder
- java.lang.Object
-
- org.apache.ibatis.mapping.ResultMap.Builder
-
- Enclosing class:
- ResultMap
public static class ResultMap.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder(Configuration configuration, java.lang.String id, java.lang.Class<?> type, java.util.List<ResultMapping> resultMappings)
Builder(Configuration configuration, java.lang.String id, java.lang.Class<?> type, java.util.List<ResultMapping> resultMappings, java.lang.Boolean autoMapping)
-
Method Summary
Modifier and Type Method Description ResultMap
build()
ResultMap.Builder
discriminator(Discriminator discriminator)
java.lang.Class<?>
type()
-
-
-
Constructor Detail
-
Builder
public Builder(Configuration configuration, java.lang.String id, java.lang.Class<?> type, java.util.List<ResultMapping> resultMappings)
-
Builder
public Builder(Configuration configuration, java.lang.String id, java.lang.Class<?> type, java.util.List<ResultMapping> resultMappings, java.lang.Boolean autoMapping)
-
-
Method Detail
-
discriminator
public ResultMap.Builder discriminator(Discriminator discriminator)
-
type
public java.lang.Class<?> type()
-
build
public ResultMap build()
-
-