Package de.ec.sql
Enum Update.UpdateType
- java.lang.Object
-
- java.lang.Enum<Update.UpdateType>
-
- de.ec.sql.Update.UpdateType
-
- All Implemented Interfaces:
QueryPart,java.io.Serializable,java.lang.Comparable<Update.UpdateType>
- Enclosing class:
- Update
protected static enum Update.UpdateType extends java.lang.Enum<Update.UpdateType> implements QueryPart
-
-
Enum Constant Summary
Enum Constants Enum Constant Description UPDATEUPDATE_OR_ABORTUPDATE_OR_FAILUPDATE_OR_IGNOREUPDATE_OR_REPLACEUPDATE_OR_ROLLBACK
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Stringstring(QueryOptions options)static Update.UpdateTypevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static Update.UpdateType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
UPDATE
public static final Update.UpdateType UPDATE
-
UPDATE_OR_ROLLBACK
public static final Update.UpdateType UPDATE_OR_ROLLBACK
-
UPDATE_OR_ABORT
public static final Update.UpdateType UPDATE_OR_ABORT
-
UPDATE_OR_REPLACE
public static final Update.UpdateType UPDATE_OR_REPLACE
-
UPDATE_OR_FAIL
public static final Update.UpdateType UPDATE_OR_FAIL
-
UPDATE_OR_IGNORE
public static final Update.UpdateType UPDATE_OR_IGNORE
-
-
Method Detail
-
values
public static Update.UpdateType[] 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 (Update.UpdateType c : Update.UpdateType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Update.UpdateType 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 namejava.lang.NullPointerException- if the argument is null
-
string
public java.lang.String string(QueryOptions options)
-
-