Class FindDocumentsByReferenceIdQuery
java.lang.Object
org.openehealth.ipf.commons.ihe.xds.core.requests.query.Query
org.openehealth.ipf.commons.ihe.xds.core.requests.query.StoredQuery
org.openehealth.ipf.commons.ihe.xds.core.requests.query.DocumentsQuery
org.openehealth.ipf.commons.ihe.xds.core.requests.query.FindDocumentsQuery
org.openehealth.ipf.commons.ihe.xds.core.requests.query.FindDocumentsByReferenceIdQuery
- All Implemented Interfaces:
Serializable
,DocumentEntryTypeAwareStoredQuery
,PatientIdBasedStoredQuery
Represents a stored query for FindDocumentsByReferenceIdQuery.
- Author:
- Dmytro Rud
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class org.openehealth.ipf.commons.ihe.xds.core.requests.query.Query
Query.Visitor
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
accept
(Query.Visitor visitor) Accept a visitor to process an instance of this class.protected boolean
boolean
Tries to return the query parameter "$XDSDocumentEntryReferenceIdList" as a collection ofReferenceId
instead of a collection ofString
.int
hashCode()
void
setReferenceIds
(QueryList<String> referenceIds) void
setTypedReferenceIds
(QueryList<ReferenceId> referenceIds) Allows to use a collection ofReferenceId
instead of a collection ofString
for specifying the query parameter "$XDSDocumentEntryReferenceIdList".toString()
Methods inherited from class org.openehealth.ipf.commons.ihe.xds.core.requests.query.FindDocumentsQuery
getDocumentAvailability, getDocumentEntryTypes, getMetadataLevel, getPatientId, getStatus, setDocumentAvailability, setDocumentEntryTypes, setMetadataLevel, setPatientId, setStatus
Methods inherited from class org.openehealth.ipf.commons.ihe.xds.core.requests.query.DocumentsQuery
getAuthorPersons, getClassCodes, getConfidentialityCodes, getCreationTime, getEventCodes, getFormatCodes, getHealthcareFacilityTypeCodes, getPracticeSettingCodes, getServiceStartTime, getServiceStopTime, getTypeCodes, getTypedAuthorPersons, setAuthorPersons, setClassCodes, setConfidentialityCodes, setEventCodes, setFormatCodes, setHealthcareFacilityTypeCodes, setPracticeSettingCodes, setTypeCodes, setTypedAuthorPersons
Methods inherited from class org.openehealth.ipf.commons.ihe.xds.core.requests.query.StoredQuery
getExtraParameters, getHomeCommunityId, setHomeCommunityId
-
Constructor Details
-
FindDocumentsByReferenceIdQuery
public FindDocumentsByReferenceIdQuery()Constructs the query.
-
-
Method Details
-
accept
Description copied from class:Query
Accept a visitor to process an instance of this class.- Overrides:
accept
in classFindDocumentsQuery
- Parameters:
visitor
- the visitor implementation.
-
setTypedReferenceIds
Allows to use a collection ofReferenceId
instead of a collection ofString
for specifying the query parameter "$XDSDocumentEntryReferenceIdList".- Parameters:
referenceIds
- a collection ofReferenceId
objects with AND/OR semantics.
-
getTypedReferenceIds
Tries to return the query parameter "$XDSDocumentEntryReferenceIdList" as a collection ofReferenceId
instead of a collection ofString
. This may fail if SQL LIKE wildcards ("%", "_", etc.) are used in one or more elements.- Returns:
- a collection of
ReferenceId
objects with AND/OR semantics.
-
equals
- Overrides:
equals
in classFindDocumentsQuery
-
canEqual
- Overrides:
canEqual
in classFindDocumentsQuery
-
hashCode
public int hashCode()- Overrides:
hashCode
in classFindDocumentsQuery
-
toString
- Overrides:
toString
in classFindDocumentsQuery
-
getReferenceIds
-
setReferenceIds
-