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 java.lang.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 anyCodec
that takes aTransformer
.- Since:
- 3.5
-
-
Constructor Summary
Constructors Constructor Description DocumentToDBRefTransformer()
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description boolean
equals(java.lang.Object o)
Deprecated.int
hashCode()
Deprecated.java.lang.Object
transform(java.lang.Object value)
Deprecated.Turns theobjectToTransform
into some otherObject
.
-
-
-
Method Detail
-
transform
public java.lang.Object transform(java.lang.Object value)
Deprecated.Description copied from interface:Transformer
Turns theobjectToTransform
into some otherObject
. 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 interfaceTransformer
- Parameters:
value
- the object that needs to be transformed.- Returns:
- the new transformed object.
-
equals
public boolean equals(java.lang.Object o)
Deprecated.- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
Deprecated.- Overrides:
hashCode
in classjava.lang.Object
-
-