org.lsc.beans.syncoptions
Enum ISyncOptions.STATUS_TYPE

java.lang.Object
  extended by java.lang.Enum<ISyncOptions.STATUS_TYPE>
      extended by org.lsc.beans.syncoptions.ISyncOptions.STATUS_TYPE
All Implemented Interfaces:
Serializable, Comparable<ISyncOptions.STATUS_TYPE>
Enclosing interface:
ISyncOptions

public static enum ISyncOptions.STATUS_TYPE
extends Enum<ISyncOptions.STATUS_TYPE>

The strategy to apply to the attribute updates.


Enum Constant Summary
FORCE
          Force the source value.
KEEP
          Keep the destination value.
MERGE
          Merge source and destination values.
UNKNOWN
          Unknown.
 
Method Summary
static ISyncOptions.STATUS_TYPE valueOf(String name)
          Returns the enum constant of this type with the specified name.
static ISyncOptions.STATUS_TYPE[] values()
          Returns an array containing the constants of this enum type, in the order they're declared.
 
Methods inherited from class java.lang.Enum
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

KEEP

public static final ISyncOptions.STATUS_TYPE KEEP
Keep the destination value.


FORCE

public static final ISyncOptions.STATUS_TYPE FORCE
Force the source value.


MERGE

public static final ISyncOptions.STATUS_TYPE MERGE
Merge source and destination values.


UNKNOWN

public static final ISyncOptions.STATUS_TYPE UNKNOWN
Unknown.

Method Detail

values

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

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

valueOf

public static ISyncOptions.STATUS_TYPE 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


Copyright © 2005-2010 LSC project. All Rights Reserved.