de.espirit.firstspirit.storage
Enum DataChangeDetail.ChangeFlag

java.lang.Object
  extended by java.lang.Enum<DataChangeDetail.ChangeFlag>
      extended by de.espirit.firstspirit.storage.DataChangeDetail.ChangeFlag
All Implemented Interfaces:
Serializable, Comparable<DataChangeDetail.ChangeFlag>
Enclosing interface:
DataChangeDetail

public static enum DataChangeDetail.ChangeFlag
extends Enum<DataChangeDetail.ChangeFlag>

Flag identifiying the change type.

Since:
4.0.90

Enum Constant Summary
ADDED
          Indicates that a change was detected because an element (editor, language) was added during the modification.
CHANGED
          Indicates that a change was detected because an element (editor, language) was changed during the modification.
REMOVED
          Indicates that a change was detected because an element (editor, language) was removed during the modification.
 
Method Summary
static DataChangeDetail.ChangeFlag forTypeChar(char c)
           
 char getTypeChar()
           
static DataChangeDetail.ChangeFlag valueOf(String name)
          Returns the enum constant of this type with the specified name.
static DataChangeDetail.ChangeFlag[] 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

ADDED

public static final DataChangeDetail.ChangeFlag ADDED
Indicates that a change was detected because an element (editor, language) was added during the modification.

Since:
4.0.90

REMOVED

public static final DataChangeDetail.ChangeFlag REMOVED
Indicates that a change was detected because an element (editor, language) was removed during the modification.

Since:
4.0.90

CHANGED

public static final DataChangeDetail.ChangeFlag CHANGED
Indicates that a change was detected because an element (editor, language) was changed during the modification.

Since:
4.0.90
Method Detail

values

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

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

valueOf

public static DataChangeDetail.ChangeFlag 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

getTypeChar

public char getTypeChar()
Since:
4.0.90

forTypeChar

public static DataChangeDetail.ChangeFlag forTypeChar(char c)
Since:
4.0.90


Copyright © 2012 e-Spirit AG. All Rights Reserved. Build 4.2.480