java.lang.Objectjava.lang.Enum<DataSetSyncStatus>
java.sql.DataSetSyncStatus
public enum DataSetSyncStatus
Enumeration for status of the conflicted row during a DataSet.sync invocation.
| Enum Constant Summary | |
|---|---|
DELETE_ROW_CONFLICT
Indicates that a conflict occured while the DataSet object
was attempting to delete a row in the data source. |
|
INSERT_ROW_CONFLICT
Indicates that a conflict occured while the DataSet object
was attempting to insert a row in the data source. |
|
NO_ROW_CONFLICT
Indicates that no conflict occured while the DataSet object was attempting to insert, update or delete
a row in the data source. |
|
UPDATE_ROW_CONFLICT
Indicates that a conflict occured while the DataSet object
was attempting to update a row in the data source. |
|
| Method Summary | |
|---|---|
static DataSetSyncStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static DataSetSyncStatus[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final DataSetSyncStatus NO_ROW_CONFLICT
DataSet object was attempting to insert, update or delete
a row in the data source.
public static final DataSetSyncStatus DELETE_ROW_CONFLICT
DataSet object
was attempting to delete a row in the data source.
public static final DataSetSyncStatus INSERT_ROW_CONFLICT
DataSet object
was attempting to insert a row in the data source.
public static final DataSetSyncStatus UPDATE_ROW_CONFLICT
DataSet object
was attempting to update a row in the data source.
| Method Detail |
|---|
public static DataSetSyncStatus[] values()
for (DataSetSyncStatus c : DataSetSyncStatus.values()) System.out.println(c);
public static DataSetSyncStatus valueOf(String name)
name - the name of the enum constant to be returned.
IllegalArgumentException - if this enum type has no constant
with the specified name
NullPointerException - if the argument is null