Package org.nuxeo.ecm.core.storage
Class State.ListDiff
java.lang.Object
org.nuxeo.ecm.core.storage.State.ListDiff
- All Implemented Interfaces:
Serializable
- Enclosing class:
- State
A diff for an array or
List
.
This diff is applied onto an existing array/List
in the following manner:
- Since:
- 5.9.5
- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
isArray
public boolean isArray -
diff
If diff is notnull
, each element of the list is applied to the existing array/List
. An element can be:- a
State.StateDiff
, to be applied on aState
, - an actual value to be set (including
null
), State.NOP
if no change is needed.
- a
-
rpush
If rpush is notnull
, this is appended to the right of the existing array/List
. -
pull
If pull is notnull
, this is removed from the existing array/List
.- Since:
- 11.5
-
-
Constructor Details
-
ListDiff
public ListDiff()
-
-
Method Details