org.mmbase.module.core
Enum TransactionManager.Exists
java.lang.Object
java.lang.Enum<TransactionManager.Exists>
org.mmbase.module.core.TransactionManager.Exists
- All Implemented Interfaces:
- Serializable, Comparable<TransactionManager.Exists>
- Enclosing class:
- TransactionManager
public static enum TransactionManager.Exists
- extends Enum<TransactionManager.Exists>
NO: The node does not exists yet, but will be created on commit
YES: The node already existed befor the transaction started.
NOLONGER: The node alreayd existed, but will be deleted by the transaction. Or, it was created and deleted in the transaction.
UNDEFINED: Just a value used to indicate that the corresponding _exists field is not filled
NO
public static final TransactionManager.Exists NO
YES
public static final TransactionManager.Exists YES
NOLONGER
public static final TransactionManager.Exists NOLONGER
UNDEFINED
public static final TransactionManager.Exists UNDEFINED
values
public static TransactionManager.Exists[] 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 (TransactionManager.Exists c : TransactionManager.Exists.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static TransactionManager.Exists 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
toString
public String toString()
- Overrides:
toString in class Enum<TransactionManager.Exists>
toExists
public static TransactionManager.Exists toExists(String s)
MMBase2 Core 2.0-SNAPSHOT - 2013-03-30T06:36