ch.elca.el4j.services.persistence.generic.dao
Enum IdentityFixerMergePolicy.UpdatePolicy

java.lang.Object
  extended by java.lang.Enum<IdentityFixerMergePolicy.UpdatePolicy>
      extended by ch.elca.el4j.services.persistence.generic.dao.IdentityFixerMergePolicy.UpdatePolicy
All Implemented Interfaces:
Serializable, Comparable<IdentityFixerMergePolicy.UpdatePolicy>
Enclosing class:
IdentityFixerMergePolicy

public static enum IdentityFixerMergePolicy.UpdatePolicy
extends Enum<IdentityFixerMergePolicy.UpdatePolicy>

This enumeration describes how the identity fixer should handle object updates.


Enum Constant Summary
NO_UPDATE
          Only complement the identity fixer representatives, no update of the old objects.
UPDATE_ALL
          Update all the objects.
UPDATE_CHOSEN
          Update the specified objects only, do not touch the others.
 
Method Summary
static IdentityFixerMergePolicy.UpdatePolicy valueOf(String name)
          Returns the enum constant of this type with the specified name.
static IdentityFixerMergePolicy.UpdatePolicy[] 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_UPDATE

public static final IdentityFixerMergePolicy.UpdatePolicy NO_UPDATE
Only complement the identity fixer representatives, no update of the old objects.


UPDATE_CHOSEN

public static final IdentityFixerMergePolicy.UpdatePolicy UPDATE_CHOSEN
Update the specified objects only, do not touch the others. Add new objects.


UPDATE_ALL

public static final IdentityFixerMergePolicy.UpdatePolicy UPDATE_ALL
Update all the objects.

Method Detail

values

public static IdentityFixerMergePolicy.UpdatePolicy[] 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 (IdentityFixerMergePolicy.UpdatePolicy c : IdentityFixerMergePolicy.UpdatePolicy.values())
    System.out.println(c);

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

valueOf

public static IdentityFixerMergePolicy.UpdatePolicy 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


Copyright © 2005-2011 ELCA. All Rights Reserved.