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
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()voidsetPatientId(Identifiable patientId) voidsetReferenceIds(QueryList<String> referenceIds) 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
-
SubscriptionForDocumentEntryQuery
public SubscriptionForDocumentEntryQuery()Constructs the query.
-
-
Method Details
-
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.
-
accept
Description copied from class:QueryAccept a visitor to process an instance of this class. -
equals
- Overrides:
equalsin classDocumentsQuery
-
canEqual
- Overrides:
canEqualin classDocumentsQuery
-
hashCode
public int hashCode()- Overrides:
hashCodein classDocumentsQuery
-
toString
- Overrides:
toStringin classDocumentsQuery
-
getPatientId
- Specified by:
getPatientIdin interfacePatientIdBasedStoredQuery
-
setPatientId
- Specified by:
setPatientIdin interfacePatientIdBasedStoredQuery
-
getReferenceIds
-
setReferenceIds
-