Class NamedDocumentRef


  • public class NamedDocumentRef
    extends BaseRef
    Represents a document ref that has a "name" instead of an "id". For example, a Role document reference is represented as a NamedRef.
    • Constructor Summary

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

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

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

      • NamedDocumentRef

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

      • getName

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

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