Class DocumentReference

  • All Implemented Interfaces:
    Serializable

    public class DocumentReference
    extends Object
    implements Serializable
    Contains a reference to a single document in an XDS repository.

    All members of this class are allowed to be null.

    Author:
    Jens Riemschneider
    See Also:
    Serialized Form
    • Constructor Detail

      • DocumentReference

        public DocumentReference()
        Constructs the document reference.
      • DocumentReference

        public DocumentReference​(String repositoryUniqueId,
                                 String documentUniqueId,
                                 String homeCommunityId)
        Constructs the document reference.
        Parameters:
        repositoryUniqueId - the unique ID of the repository containing the document.
        documentUniqueId - the unique ID of the document.
        homeCommunityId - the home community ID.
    • Method Detail

      • getRepositoryUniqueId

        public String getRepositoryUniqueId()
        Returns:
        the unique ID of the repository containing the document.
      • setRepositoryUniqueId

        public void setRepositoryUniqueId​(String repositoryUniqueId)
        Parameters:
        repositoryUniqueId - the unique ID of the repository containing the document.
      • getDocumentUniqueId

        public String getDocumentUniqueId()
        Returns:
        the unique ID of the document.
      • setDocumentUniqueId

        public void setDocumentUniqueId​(String documentUniqueId)
        Parameters:
        documentUniqueId - the unique ID of the document.
      • getHomeCommunityId

        public String getHomeCommunityId()
        Returns:
        the home community ID.
      • setHomeCommunityId

        public void setHomeCommunityId​(String homeCommunityId)
        Parameters:
        homeCommunityId - the home community ID.
      • canEqual

        protected boolean canEqual​(Object other)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object