Package com.mongodb

Class DocumentToDBRefTransformer

  • All Implemented Interfaces:
    org.bson.Transformer


    public final class DocumentToDBRefTransformer
    extends java.lang.Object
    implements org.bson.Transformer
    A Document to DBRef Transformer. Can be used with any Codec that takes a Transformer.
    Since:
    3.5
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean equals​(java.lang.Object o)  
      int hashCode​()  
      java.lang.Object transform​(java.lang.Object value)  
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • DocumentToDBRefTransformer

        public DocumentToDBRefTransformer​()
    • Method Detail

      • transform

        public java.lang.Object transform​(java.lang.Object value)
        Specified by:
        transform in interface org.bson.Transformer
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode​()
        Overrides:
        hashCode in class java.lang.Object