public final class DocumentToDBRefTransformer extends java.lang.Object implements Transformer
Codec
that takes a Transformer
.Constructor and Description |
---|
DocumentToDBRefTransformer() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o) |
int |
hashCode() |
java.lang.Object |
transform(java.lang.Object value)
Turns the
objectToTransform into some other Object . |
public java.lang.Object transform(java.lang.Object value)
Transformer
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.transform
in interface Transformer
value
- the object that needs to be transformed.public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
Copyright © 2010 - 2020 Adobe. All Rights Reserved