Package com.mongodb

Class DocumentToDBRefTransformer

java.lang.Object
com.mongodb.DocumentToDBRefTransformer
All Implemented Interfaces:
Transformer

@Deprecated(since="2021-05-27") public final class DocumentToDBRefTransformer extends Object implements Transformer
Deprecated.
Usage of this API is not supported in AEM as a Cloud Service.
A Document to DBRef Transformer. Can be used with any Codec that takes a Transformer.
Since:
3.5
  • Constructor Details

    • DocumentToDBRefTransformer

      public DocumentToDBRefTransformer()
      Deprecated.
  • Method Details

    • transform

      public Object transform(Object value)
      Deprecated.
      Description copied from interface: Transformer
      Turns the objectToTransform into some other Object. This can either be turning a simple BSON-friendly object into a different Java type, or it can be turning a Java type that can't automatically be converted into BSON into something that can.
      Specified by:
      transform in interface Transformer
      Parameters:
      value - the object that needs to be transformed.
      Returns:
      the new transformed object.
    • equals

      public boolean equals(Object o)
      Deprecated.
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Deprecated.
      Overrides:
      hashCode in class Object