Class IncrementalPersistPatch
- java.lang.Object
-
- de.xima.fc.gui.designer.form.model.params.IncrementalPersistPatch
-
- All Implemented Interfaces:
Serializable
public class IncrementalPersistPatch extends Object implements Serializable
POJO model for JSON patches received from the form designer for the form persist JSON. This is a JSON patch, see https://tools.ietf.org/html/rfc6902- Since:
- 7.0.0
- Author:
- XIMA MEDIA GmbH
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description IncrementalPersistPatch()For JSON deserialization.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static IncrementalPersistPatchadd(String path, Object value)static IncrementalPersistPatchcopy(String from, String to)StringgetFrom()EIncrementalPersistPatchOperationgetOp()StringgetPath()ObjectgetValue()static IncrementalPersistPatchmove(String from, String to)static IncrementalPersistPatchremove(String path)static IncrementalPersistPatchreplace(String path, Object value)voidsetFrom(String from)voidsetOp(EIncrementalPersistPatchOperation operation)voidsetPath(String path)voidsetValue(Object value)
-
-
-
Method Detail
-
getFrom
public String getFrom()
-
getOp
public EIncrementalPersistPatchOperation getOp()
-
getPath
public String getPath()
-
getValue
public Object getValue()
-
setFrom
public void setFrom(String from)
-
setOp
public void setOp(EIncrementalPersistPatchOperation operation)
-
setPath
public void setPath(String path)
-
setValue
public void setValue(Object value)
-
add
public static IncrementalPersistPatch add(String path, Object value)
-
copy
public static IncrementalPersistPatch copy(String from, String to)
-
move
public static IncrementalPersistPatch move(String from, String to)
-
remove
public static IncrementalPersistPatch remove(String path)
-
replace
public static IncrementalPersistPatch replace(String path, Object value)
-
-