java.sql
Enum DataSetSyncStatus

java.lang.Object
  extended by java.lang.Enum<DataSetSyncStatus>
      extended by java.sql.DataSetSyncStatus
All Implemented Interfaces:
Serializable, Comparable<DataSetSyncStatus>

public enum DataSetSyncStatus
extends Enum<DataSetSyncStatus>

Enumeration for status of the conflicted row during a DataSet.sync invocation.

Since:
1.6

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

NO_ROW_CONFLICT

public static final DataSetSyncStatus 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.

Since:
1.6

DELETE_ROW_CONFLICT

public static final DataSetSyncStatus DELETE_ROW_CONFLICT
Indicates that a conflict occured while the DataSet object was attempting to delete a row in the data source.

Since:
1.6

INSERT_ROW_CONFLICT

public static final DataSetSyncStatus INSERT_ROW_CONFLICT
Indicates that a conflict occured while the DataSet object was attempting to insert a row in the data source.

Since:
1.6

UPDATE_ROW_CONFLICT

public static final DataSetSyncStatus UPDATE_ROW_CONFLICT
Indicates that a conflict occured while the DataSet object was attempting to update a row in the data source.

Since:
1.6
Method Detail

values

public static DataSetSyncStatus[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (DataSetSyncStatus c : DataSetSyncStatus.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static DataSetSyncStatus valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
IllegalArgumentException - if this enum type has no constant with the specified name
NullPointerException - if the argument is null