Class DocumentReference

java.lang.Object
org.openehealth.ipf.commons.ihe.xds.core.requests.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:
  • Constructor Details

    • 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 Details

    • 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.
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • canEqual

      protected boolean canEqual(Object other)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object