Interface CidsBeanPatchOperation

  • All Superinterfaces:
    com.github.fge.jsonpatch.operation.JsonPatchOperation, com.fasterxml.jackson.databind.JsonSerializable
    All Known Implementing Classes:
    AddOperation, CopyOperation, MoveOperation, RemoveOperation, ReplaceOperation, TestOperation

    public interface CidsBeanPatchOperation
    extends com.github.fge.jsonpatch.operation.JsonPatchOperation
    Base abstract class for one CidsBean patch operation.

    Two more abstract classes extend this one according to the arguments of the operation:

    • DualPathOperation for operations taking a second pointer as an argument (copy and move);
    • PathValueOperation for operations taking a value as an argument (add, replace and test).
    Version:
    $Revision$, $Date$
    • Nested Class Summary

      • Nested classes/interfaces inherited from interface com.fasterxml.jackson.databind.JsonSerializable

        com.fasterxml.jackson.databind.JsonSerializable.Base
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      de.cismet.cids.dynamics.CidsBean apply​(de.cismet.cids.dynamics.CidsBean cidsBean)
      Apply this operation to a JSON value.
      • Methods inherited from interface com.github.fge.jsonpatch.operation.JsonPatchOperation

        apply, toString
      • Methods inherited from interface com.fasterxml.jackson.databind.JsonSerializable

        serialize, serializeWithType
    • Method Detail

      • apply

        de.cismet.cids.dynamics.CidsBean apply​(de.cismet.cids.dynamics.CidsBean cidsBean)
                                        throws com.github.fge.jsonpatch.JsonPatchException
        Apply this operation to a JSON value.
        Parameters:
        cidsBean - the value to patch
        Returns:
        the patched value
        Throws:
        com.github.fge.jsonpatch.JsonPatchException - com.github.fge.jsonpatch.JsonPatchException operation failed to apply to this value