Class NullDocument<T>

    • Constructor Summary

      Constructors 
      Constructor Description
      NullDocument​(java.lang.String id, Module coll, java.lang.String cause)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean equals​(java.lang.Object o)  
      T get()  
      java.lang.String getCause()
      Get the cause of the null document.
      Module getCollection()
      Get the Collection associated with the null document.
      java.lang.String getId()
      Get the ID of the null document.
      int hashCode()  
      • Methods inherited from class java.lang.Object

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

      • NullDocument

        public NullDocument​(java.lang.String id,
                            Module coll,
                            java.lang.String cause)
    • Method Detail

      • getCause

        public java.lang.String getCause()
        Get the cause of the null document.
        Returns:
        A string describing the cause of the null document.
      • getId

        public java.lang.String getId()
        Get the ID of the null document.
        Returns:
        The document ID.
      • getCollection

        public Module getCollection()
        Get the Collection associated with the null document.
        Returns:
        A Module representing the collection.
      • 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