Package org.apache.juneau.bean.jsonpatch
Class AddOp
java.lang.Object
org.apache.juneau.bean.jsonpatch.JsonPatchOperation
org.apache.juneau.bean.jsonpatch.AddOp
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.apache.juneau.bean.jsonpatch.JsonPatchOperation
getPath, setPath, toString
-
Constructor Details
-
AddOp
public AddOp()Default constructor. -
AddOp
Convenience constructor.- Parameters:
path- The JSON Pointer target. Can benull to leave the property unset.value- The value to add. Can benull to leave the property unset.
-
-
Method Details
-
getValue
Bean property getter:value .- Returns:
- The value of the
value property, ornull if it is not set.
-
setValue
Bean property setter:value .- Parameters:
value- The new value for this property. Can benull to unset the property.- Returns:
- This object.
-