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 IncrementalPersistPatch
add(String path, Object value)
static IncrementalPersistPatch
copy(String from, String to)
String
getFrom()
EIncrementalPersistPatchOperation
getOp()
String
getPath()
Object
getValue()
static IncrementalPersistPatch
move(String from, String to)
static IncrementalPersistPatch
remove(String path)
static IncrementalPersistPatch
replace(String path, Object value)
void
setFrom(String from)
void
setOp(EIncrementalPersistPatchOperation operation)
void
setPath(String path)
void
setValue(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)
-
-