Package org.iplass.mtp.entity.bulkupdate
Enum BulkUpdateEntity.UpdateMethod
- java.lang.Object
-
- java.lang.Enum<BulkUpdateEntity.UpdateMethod>
-
- org.iplass.mtp.entity.bulkupdate.BulkUpdateEntity.UpdateMethod
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<BulkUpdateEntity.UpdateMethod>,java.lang.constant.Constable
- Enclosing class:
- BulkUpdateEntity
public static enum BulkUpdateEntity.UpdateMethod extends java.lang.Enum<BulkUpdateEntity.UpdateMethod>
更新方法
-
-
Method Summary
Modifier and Type Method Description static BulkUpdateEntity.UpdateMethodvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static BulkUpdateEntity.UpdateMethod[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
INSERT
public static final BulkUpdateEntity.UpdateMethod INSERT
新規追加
-
UPDATE
public static final BulkUpdateEntity.UpdateMethod UPDATE
更新。oid指定が必須。
-
MERGE
public static final BulkUpdateEntity.UpdateMethod MERGE
当該Entityが存在したら、更新。存在しなかったら新規追加。oid指定が必須。
更新/新規を判断するため、INSERT/UPDATEダイレクト指定より処理スピードは若干劣る。
-
DELETE
public static final BulkUpdateEntity.UpdateMethod DELETE
削除。oid指定が必須。
-
-
Method Detail
-
values
public static BulkUpdateEntity.UpdateMethod[] values()
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static BulkUpdateEntity.UpdateMethod 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
-
-