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:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DocumentReference()
Constructs the document reference.DocumentReference(String repositoryUniqueId, String documentUniqueId, String homeCommunityId)
Constructs the document reference.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected boolean
canEqual(Object other)
boolean
equals(Object o)
String
getDocumentUniqueId()
String
getHomeCommunityId()
String
getRepositoryUniqueId()
int
hashCode()
void
setDocumentUniqueId(String documentUniqueId)
void
setHomeCommunityId(String homeCommunityId)
void
setRepositoryUniqueId(String repositoryUniqueId)
String
toString()
-
-
-
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)
-
-