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
public class FindDocumentsByReferenceIdQuery extends FindDocumentsQuery
Represents a stored query for FindDocumentsByReferenceIdQuery.- Author:
- Dmytro Rud
- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.openehealth.ipf.commons.ihe.xds.core.requests.query.Query
Query.Visitor
-
-
Constructor Summary
Constructors Constructor Description FindDocumentsByReferenceIdQuery()
Constructs the query.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
accept(Query.Visitor visitor)
Accept a visitor to process an instance of this class.protected boolean
canEqual(Object other)
boolean
equals(Object o)
QueryList<String>
getReferenceIds()
QueryList<ReferenceId>
getTypedReferenceIds()
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".String
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
-
-
-
-
Method Detail
-
accept
public void accept(Query.Visitor visitor)
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
public void setTypedReferenceIds(QueryList<ReferenceId> referenceIds)
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
public QueryList<ReferenceId> 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
public boolean equals(Object o)
- Overrides:
equals
in classFindDocumentsQuery
-
canEqual
protected boolean canEqual(Object other)
- Overrides:
canEqual
in classFindDocumentsQuery
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classFindDocumentsQuery
-
toString
public String toString()
- Overrides:
toString
in classFindDocumentsQuery
-
-