Class RemoveOperation

  • All Implemented Interfaces:
    com.fasterxml.jackson.databind.JsonSerializable, com.github.fge.jsonpatch.operation.JsonPatchOperation, CidsBeanPatchOperation

    public class RemoveOperation
    extends com.github.fge.jsonpatch.operation.RemoveOperation
    implements CidsBeanPatchOperation
    DOCUMENT ME!
    Version:
    $Revision$, $Date$
    Author:
    Pascal Dihé
    • Nested Class Summary

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

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

      Fields 
      Modifier and Type Field Description
      protected static org.apache.log4j.Logger LOGGER  
      protected static ResourceBundle RESOURCE_BUNDLE  
      protected static CidsBeanPatchUtils UTILS  
      • Fields inherited from class com.github.fge.jsonpatch.operation.RemoveOperation

        BUNDLE, op, OPERATION_NAME, path
    • Constructor Summary

      Constructors 
      Constructor Description
      RemoveOperation​(com.github.fge.jackson.jsonpointer.JsonPointer path)
      Creates a new ReplaceOperation object.
    • Method Summary

      All Methods Instance Methods Concrete 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 class com.github.fge.jsonpatch.operation.RemoveOperation

        apply, serialize, serializeWithType, toString
      • Methods inherited from interface com.github.fge.jsonpatch.operation.JsonPatchOperation

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

        serialize, serializeWithType
    • Field Detail

      • LOGGER

        protected static final org.apache.log4j.Logger LOGGER
      • RESOURCE_BUNDLE

        protected static final ResourceBundle RESOURCE_BUNDLE
    • Constructor Detail

      • RemoveOperation

        public RemoveOperation​(com.github.fge.jackson.jsonpointer.JsonPointer path)
        Creates a new ReplaceOperation object.
        Parameters:
        path - DOCUMENT ME!
    • Method Detail

      • apply

        public de.cismet.cids.dynamics.CidsBean apply​(de.cismet.cids.dynamics.CidsBean cidsBean)
                                               throws com.github.fge.jsonpatch.JsonPatchException
        Description copied from interface: CidsBeanPatchOperation
        Apply this operation to a JSON value.
        Specified by:
        apply in interface CidsBeanPatchOperation
        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