@Documented @Retention(value=RUNTIME) @Target(value=METHOD) @Repeatable(value=ConstructorArgs.class) public @interface Arg
ConstructorArgs| Modifier and Type | Optional Element and Description |
|---|---|
String |
column
Return the column name(or column label) to map to this argument.
|
String |
columnPrefix
Returns the column prefix that use when applying
resultMap(). |
boolean |
id
Returns whether id column or not.
|
Class<?> |
javaType
Return the java type for this argument.
|
JdbcType |
jdbcType
Return the jdbc type for column that map to this argument.
|
String |
name
Returns the parameter name for applying this mapping.
|
String |
resultMap
Returns the result map id for mapping to a object that map to this argument.
|
String |
select
Return the statement id for retrieving a object that map to this argument.
|
Class<? extends TypeHandler> |
typeHandler
Returns the
TypeHandler type for retrieving a column value from result set. |
public abstract boolean id
true if id column; false if otherwisepublic abstract String column
public abstract Class<?> javaType
public abstract JdbcType jdbcType
public abstract Class<? extends TypeHandler> typeHandler
TypeHandler type for retrieving a column value from result set.TypeHandler typepublic abstract String select
public abstract String resultMap
public abstract String name
public abstract String columnPrefix
resultMap().Copyright © 2009–2021 MyBatis.org. All rights reserved.