Class DocumentReference
java.lang.Object
org.openehealth.ipf.commons.ihe.xds.core.requests.DocumentReference
- All Implemented Interfaces:
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 Summary
ConstructorDescriptionConstructs the document reference.DocumentReference
(String repositoryUniqueId, String documentUniqueId, String homeCommunityId) Constructs the document reference. -
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
boolean
int
hashCode()
void
setDocumentUniqueId
(String documentUniqueId) void
setHomeCommunityId
(String homeCommunityId) void
setRepositoryUniqueId
(String repositoryUniqueId) toString()
-
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
- Returns:
- the unique ID of the repository containing the document.
-
setRepositoryUniqueId
- Parameters:
repositoryUniqueId
- the unique ID of the repository containing the document.
-
getDocumentUniqueId
- Returns:
- the unique ID of the document.
-
setDocumentUniqueId
- Parameters:
documentUniqueId
- the unique ID of the document.
-
getHomeCommunityId
- Returns:
- the home community ID.
-
setHomeCommunityId
- Parameters:
homeCommunityId
- the home community ID.
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-