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
public abstract class DocumentsQuery extends StoredQuery
Abstract stored query for documents.- Author:
- Jens Riemschneider
- 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 Modifier Constructor Description protected
DocumentsQuery()
For JAXB only.protected
DocumentsQuery(QueryType type)
-
Method Summary
-
Methods inherited from class org.openehealth.ipf.commons.ihe.xds.core.requests.query.StoredQuery
getExtraParameters, getHomeCommunityId, setHomeCommunityId
-
-
-
-
Constructor Detail
-
DocumentsQuery
protected DocumentsQuery()
For JAXB only.
-
DocumentsQuery
protected DocumentsQuery(QueryType type)
-
-
Method Detail
-
setTypedAuthorPersons
public void setTypedAuthorPersons(List<Person> authorPersons)
Allows to use a collection ofPerson
instead of a collection ofString
for specifying the query parameter "$XDSDocumentEntryAuthorPerson".- Parameters:
authorPersons
- a collection ofPerson
objects.
-
getTypedAuthorPersons
public List<Person> 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
public boolean equals(Object o)
- Overrides:
equals
in classStoredQuery
-
canEqual
protected boolean canEqual(Object other)
- Overrides:
canEqual
in classStoredQuery
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classStoredQuery
-
toString
public String toString()
- Overrides:
toString
in classStoredQuery
-
setHealthcareFacilityTypeCodes
public void setHealthcareFacilityTypeCodes(List<Code> healthcareFacilityTypeCodes)
-
getCreationTime
public TimeRange getCreationTime()
-
getServiceStartTime
public TimeRange getServiceStartTime()
-
getServiceStopTime
public TimeRange getServiceStopTime()
-
-