Skip navigation links


org.identityconnectors.framework.common.objects
Enum SyncDeltaType

java.lang.Object
  extended by java.lang.Enum<SyncDeltaType>
      extended by org.identityconnectors.framework.common.objects.SyncDeltaType

All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<SyncDeltaType>

public enum SyncDeltaType
extends java.lang.Enum<SyncDeltaType>

The type of change.


Enum Constant Summary
CREATE_OR_UPDATE
          The change represents either a create or an update in the resource.
DELETE
          The change represents a DELETE in the resource

 

Method Summary
static SyncDeltaType valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static SyncDeltaType[] 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

CREATE_OR_UPDATE

public static final SyncDeltaType CREATE_OR_UPDATE
The change represents either a create or an update in the resource. These are combined into a single value because:
  1. Many resources will not be able to distinguish a create from an update. Those that have an audit log will be able to. However, many implementations will only have the current record and a modification timestamp.
  2. Regardless of whether or not the resource can distinguish the two cases, the application needs to distinguish.

DELETE

public static final SyncDeltaType DELETE
The change represents a DELETE in the resource

Method Detail

values

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

valueOf

public static SyncDeltaType valueOf(java.lang.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:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name

Skip navigation links


Copyright © 2012, Oracle and/or its affiliates. All rights reserved.