@Beta public enum UpdateStrategy extends Enum<UpdateStrategy>
|Enum Constant and Description|
Request to update the entity is sent with the HTTP method PATCH and its payload contains the changed fields only.
Request to update the entity is sent with the HTTP method PUT and its payload contains all fields of the entity, regardless which of them have been changed
|Modifier and Type||Method and Description|
Returns the enum constant of this type with the specified name.
Returns an array containing the constants of this enum type, in the order they are declared.
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
public static final UpdateStrategy REPLACE_WITH_PUT
public static final UpdateStrategy MODIFY_WITH_PATCH
public static UpdateStrategy values()
for (UpdateStrategy c : UpdateStrategy.values()) System.out.println(c);
public static UpdateStrategy valueOf(String name)
name- the name of the enum constant to be returned.
IllegalArgumentException- if this enum type has no constant with the specified name
NullPointerException- if the argument is null
Copyright © 2020 SAP SE. All rights reserved.