public static enum SqlInsertBuilder.InsertType extends Enum<SqlInsertBuilder.InsertType>
| Enum Constant and Description |
|---|
INSERT_BEAN |
INSERT_RAW |
| Modifier and Type | Method and Description |
|---|---|
void |
generate(Elements elementUtils,
com.squareup.javapoet.MethodSpec.Builder methodBuilder,
SQLiteModelMethod method,
com.squareup.javapoet.TypeName returnType) |
boolean |
isMapFields()
if true, map cursor fields to bean attributes.
|
static SqlInsertBuilder.InsertType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SqlInsertBuilder.InsertType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SqlInsertBuilder.InsertType INSERT_BEAN
public static final SqlInsertBuilder.InsertType INSERT_RAW
public static SqlInsertBuilder.InsertType[] values()
for (SqlInsertBuilder.InsertType c : SqlInsertBuilder.InsertType.values()) System.out.println(c);
public static SqlInsertBuilder.InsertType valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic boolean isMapFields()
public void generate(Elements elementUtils, com.squareup.javapoet.MethodSpec.Builder methodBuilder, SQLiteModelMethod method, com.squareup.javapoet.TypeName returnType)
Copyright © 2017. All rights reserved.