Class FindDocumentsByReferenceIdForMultiplePatientsQuery
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.FindDocumentsByReferenceIdForMultiplePatientsQuery
- All Implemented Interfaces:
Serializable,DocumentEntryTypeAwareStoredQuery
public class FindDocumentsByReferenceIdForMultiplePatientsQuery
extends DocumentsQuery
implements DocumentEntryTypeAwareStoredQuery
Represents a Multi-Patient stored query for FindDocuments by Reference ID.
- 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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaccept(Query.Visitor visitor) Accept a visitor to process an instance of this class.protected booleanbooleanTries to return the query parameter "$XDSDocumentEntryReferenceIdList" as a collection ofReferenceIdinstead of a collection ofString.inthashCode()voidsetDocumentEntryTypes(List<DocumentEntryType> documentEntryTypes) voidsetPatientIds(List<Identifiable> patientIds) voidsetReferenceIds(QueryList<String> referenceIds) voidsetStatus(List<AvailabilityStatus> status) voidsetTypedReferenceIds(QueryList<ReferenceId> referenceIds) Allows to use a collection ofReferenceIdinstead of a collection ofStringfor specifying the query parameter "$XDSDocumentEntryReferenceIdList".toString()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, setTypedAuthorPersonsMethods inherited from class org.openehealth.ipf.commons.ihe.xds.core.requests.query.StoredQuery
getExtraParameters, getHomeCommunityId, setHomeCommunityId
-
Constructor Details
-
FindDocumentsByReferenceIdForMultiplePatientsQuery
public FindDocumentsByReferenceIdForMultiplePatientsQuery()Constructs the query.
-
-
Method Details
-
accept
Description copied from class:QueryAccept a visitor to process an instance of this class. -
setTypedReferenceIds
Allows to use a collection ofReferenceIdinstead of a collection ofStringfor specifying the query parameter "$XDSDocumentEntryReferenceIdList".- Parameters:
referenceIds- a collection ofReferenceIdobjects with AND/OR semantics.
-
getTypedReferenceIds
Tries to return the query parameter "$XDSDocumentEntryReferenceIdList" as a collection ofReferenceIdinstead of a collection ofString. This may fail if SQL LIKE wildcards ("%", "_", etc.) are used in one or more elements.- Returns:
- a collection of
ReferenceIdobjects with AND/OR semantics.
-
equals
- Overrides:
equalsin classDocumentsQuery
-
canEqual
- Overrides:
canEqualin classDocumentsQuery
-
hashCode
public int hashCode()- Overrides:
hashCodein classDocumentsQuery
-
toString
- Overrides:
toStringin classDocumentsQuery
-
getPatientIds
-
setPatientIds
-
getStatus
-
setStatus
-
getDocumentEntryTypes
- Specified by:
getDocumentEntryTypesin interfaceDocumentEntryTypeAwareStoredQuery
-
setDocumentEntryTypes
- Specified by:
setDocumentEntryTypesin interfaceDocumentEntryTypeAwareStoredQuery
-
getReferenceIds
-
setReferenceIds
-