Class CidsBeanPatch

  • All Implemented Interfaces:
    com.fasterxml.jackson.databind.JsonSerializable

    public class CidsBeanPatch
    extends Object
    implements com.fasterxml.jackson.databind.JsonSerializable
    DOCUMENT ME!
    Version:
    $Revision$, $Date$
    • Constructor Detail

      • CidsBeanPatch

        public CidsBeanPatch​(List<CidsBeanPatchOperation> operations)
        Constructor.

        Normally, you should never have to use it.

        Parameters:
        operations - the list of operations for this patch
        See Also:
        JsonPatchOperation
    • Method Detail

      • apply

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

        public void serialize​(com.fasterxml.jackson.core.JsonGenerator jgen,
                              com.fasterxml.jackson.databind.SerializerProvider provider)
                       throws IOException
        Specified by:
        serialize in interface com.fasterxml.jackson.databind.JsonSerializable
        Throws:
        IOException
      • serializeWithType

        public void serializeWithType​(com.fasterxml.jackson.core.JsonGenerator jgen,
                                      com.fasterxml.jackson.databind.SerializerProvider provider,
                                      com.fasterxml.jackson.databind.jsontype.TypeSerializer typeSer)
                               throws IOException
        Specified by:
        serializeWithType in interface com.fasterxml.jackson.databind.JsonSerializable
        Throws:
        IOException