Class DocumentRef


  • public class DocumentRef
    extends BaseRef
    Represents a document ref.
    • Constructor Summary

      Constructors 
      Constructor Description
      DocumentRef​(java.lang.String id, Module coll)
      Constructs a new Ref object with the specified id and collection.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean equals​(java.lang.Object o)  
      java.lang.String getId()
      Gets the string value of the ref id.
      int hashCode()  
      • Methods inherited from class java.lang.Object

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

      • DocumentRef

        public DocumentRef​(java.lang.String id,
                           Module coll)
        Constructs a new Ref object with the specified id and collection.
        Parameters:
        id - The string value of the document ref id.
        coll - The module to which the document ref belongs.
    • Method Detail

      • getId

        public java.lang.String getId()
        Gets the string value of the ref id.
        Returns:
        The string value of the ref id.
      • equals

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