Class SubscriptionForDocumentEntryQuery
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.SubscriptionForDocumentEntryQuery
- All Implemented Interfaces:
Serializable
,PatientIdBasedStoredQuery
public class SubscriptionForDocumentEntryQuery
extends DocumentsQuery
implements PatientIdBasedStoredQuery
Represents a stored query for SubscriptionFilterQuery used for ITI-52 filters
- Author:
- Christian Ohr
- 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
setPatientId
(Identifiable patientId) 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.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
-
SubscriptionForDocumentEntryQuery
public SubscriptionForDocumentEntryQuery()Constructs the query.
-
-
Method Details
-
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.
-
accept
Description copied from class:Query
Accept a visitor to process an instance of this class. -
equals
- Overrides:
equals
in classDocumentsQuery
-
canEqual
- Overrides:
canEqual
in classDocumentsQuery
-
hashCode
public int hashCode()- Overrides:
hashCode
in classDocumentsQuery
-
toString
- Overrides:
toString
in classDocumentsQuery
-
getPatientId
- Specified by:
getPatientId
in interfacePatientIdBasedStoredQuery
-
setPatientId
- Specified by:
setPatientId
in interfacePatientIdBasedStoredQuery
-
getReferenceIds
-
setReferenceIds
-