@Api public enum DataSourceOperation extends Enum<DataSourceOperation>
Enum Constant and Description |
---|
DELETE
Operation to delete data from data source
|
INSERT
Operation to insert data to data source
|
READ
Operation to read data from data source.
|
UPDATE
Operation to update data in data source
|
Modifier and Type | Method and Description |
---|---|
static DataSourceOperation |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DataSourceOperation[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DataSourceOperation READ
public static final DataSourceOperation UPDATE
public static final DataSourceOperation INSERT
public static final DataSourceOperation DELETE
public static DataSourceOperation[] values()
for (DataSourceOperation c : DataSourceOperation.values()) System.out.println(c);
public static DataSourceOperation 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 © 2019 Suncode. All rights reserved.