public enum BindAsyncTaskType extends Enum<BindAsyncTaskType>
Allows to specify how a BindAsyncTask works with the data source for which it is generated. In a generated async task a data source can be:
| Enum Constant and Description |
|---|
READ
data source is opened in read mode and only SELECT operation are
admitted.
|
READ_WRITE
every operation on data source are admitted.
|
UNMANAGE
async task will NOT manage open/close connetion operations.
|
| Modifier and Type | Method and Description |
|---|---|
static BindAsyncTaskType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static BindAsyncTaskType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BindAsyncTaskType READ
public static final BindAsyncTaskType READ_WRITE
public static final BindAsyncTaskType UNMANAGE
public static BindAsyncTaskType[] values()
for (BindAsyncTaskType c : BindAsyncTaskType.values()) System.out.println(c);
public static BindAsyncTaskType 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 nullCopyright © 2017. All rights reserved.