Class DocumentsQuery
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
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
FetchQuery
,FindDocumentsForMultiplePatientsQuery
,FindDocumentsQuery
,SubscriptionForDocumentEntryQuery
,SubscriptionForPatientIndependentDocumentEntryQuery
Abstract stored query for documents.
- Author:
- Jens Riemschneider
- 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 TypeMethodDescriptionprotected boolean
boolean
int
hashCode()
void
setAuthorPersons
(List<String> authorPersons) void
setClassCodes
(List<Code> classCodes) void
setConfidentialityCodes
(QueryList<Code> confidentialityCodes) void
setEventCodes
(QueryList<Code> eventCodes) void
setFormatCodes
(List<Code> formatCodes) void
setHealthcareFacilityTypeCodes
(List<Code> healthcareFacilityTypeCodes) void
setPracticeSettingCodes
(List<Code> practiceSettingCodes) void
setTypeCodes
(List<Code> typeCodes) void
setTypedAuthorPersons
(List<Person> authorPersons) toString()
Methods inherited from class org.openehealth.ipf.commons.ihe.xds.core.requests.query.StoredQuery
getExtraParameters, getHomeCommunityId, setHomeCommunityId
-
Constructor Details
-
DocumentsQuery
protected DocumentsQuery()For JAXB only. -
DocumentsQuery
-
-
Method Details
-
setTypedAuthorPersons
Allows to use a collection ofPerson
instead of a collection ofString
for specifying the query parameter "$XDSDocumentEntryAuthorPerson".- Parameters:
authorPersons
- a collection ofPerson
objects.
-
getTypedAuthorPersons
Tries to return the query parameter "$XDSDocumentEntryAuthorPerson" as a collection ofPerson
instead of a collection ofString
. This may fail if SQL LIKE wildcards ("%", "_", etc.) are used in one or more elements.- Returns:
- a collection of
Person
objects.
-
equals
- Overrides:
equals
in classStoredQuery
-
canEqual
- Overrides:
canEqual
in classStoredQuery
-
hashCode
public int hashCode()- Overrides:
hashCode
in classStoredQuery
-
toString
- Overrides:
toString
in classStoredQuery
-
getTypeCodes
-
setTypeCodes
-
getClassCodes
-
setClassCodes
-
getPracticeSettingCodes
-
setPracticeSettingCodes
-
getHealthcareFacilityTypeCodes
-
setHealthcareFacilityTypeCodes
-
getEventCodes
-
setEventCodes
-
getConfidentialityCodes
-
setConfidentialityCodes
-
getFormatCodes
-
setFormatCodes
-
getAuthorPersons
-
setAuthorPersons
-
getCreationTime
-
getServiceStartTime
-
getServiceStopTime
-