|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<DSOperationType>
com.smartgwt.client.types.DSOperationType
public enum DSOperationType
One of the four basic operations that can be performed on DataSource data: "fetch", "add", "update", "remove". Elsewhere called CRUD operations, where CRUD stands for "create", "retrieve", "update", "delete", which correspond to "add", "fetch", "update" and "remove" in SmartClient terminology. See dataSourceOperations for a full description.
Enum Constant Summary | |
---|---|
ADD
Store new records |
|
FETCH
Fetch one or more records that match a set of search criteria. |
|
REMOVE
Remove (delete) an existing record |
|
UPDATE
Update an existing record |
Method Summary | |
---|---|
java.lang.String |
getValue()
|
static DSOperationType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static DSOperationType[] |
values()
Returns an array containing the constants of this enum type, in the order they're declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final DSOperationType FETCH
public static final DSOperationType ADD
public static final DSOperationType UPDATE
public static final DSOperationType REMOVE
Method Detail |
---|
public static final DSOperationType[] values()
for(DSOperationType c : DSOperationType.values()) System.out.println(c);
public static DSOperationType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.
java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified namepublic java.lang.String getValue()
getValue
in interface ValueEnum
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |