ca.sqlpower.wabit.dao
Enum WabitPersister.WabitPersistMethod

java.lang.Object
  extended by java.lang.Enum<WabitPersister.WabitPersistMethod>
      extended by ca.sqlpower.wabit.dao.WabitPersister.WabitPersistMethod
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<WabitPersister.WabitPersistMethod>
Enclosing interface:
WabitPersister

public static enum WabitPersister.WabitPersistMethod
extends java.lang.Enum<WabitPersister.WabitPersistMethod>

An enumeration of possible WabitPersister commands. The MessageSenders and MessageDecoders can use this is a common reference for the type of persistence methods calls that can be sent through messages.


Enum Constant Summary
begin
           
changeProperty
           
commit
           
persistObject
           
persistProperty
           
removeObject
           
rollback
           
 
Method Summary
static WabitPersister.WabitPersistMethod valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static WabitPersister.WabitPersistMethod[] 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

begin

public static final WabitPersister.WabitPersistMethod begin

commit

public static final WabitPersister.WabitPersistMethod commit

persistObject

public static final WabitPersister.WabitPersistMethod persistObject

persistProperty

public static final WabitPersister.WabitPersistMethod persistProperty

changeProperty

public static final WabitPersister.WabitPersistMethod changeProperty

removeObject

public static final WabitPersister.WabitPersistMethod removeObject

rollback

public static final WabitPersister.WabitPersistMethod rollback
Method Detail

values

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

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

valueOf

public static WabitPersister.WabitPersistMethod 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
java.lang.NullPointerException - if the argument is null


Copyright © 2009. All Rights Reserved.