Class FindSubmissionSetsQuery
- 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.FindSubmissionSetsQuery
-
- All Implemented Interfaces:
Serializable
,PatientIdBasedStoredQuery
public class FindSubmissionSetsQuery extends StoredQuery implements PatientIdBasedStoredQuery
Represents a stored query for FindSubmissionSets.- 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 Constructor Description FindSubmissionSetsQuery()
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)
String
getAuthorPerson()
List<Code>
getContentTypeCodes()
Identifiable
getPatientId()
List<String>
getSourceIds()
List<AvailabilityStatus>
getStatus()
TimeRange
getSubmissionTime()
Person
getTypedAuthorPerson()
int
hashCode()
void
setAuthorPerson(String authorPerson)
void
setContentTypeCodes(List<Code> contentTypeCodes)
void
setPatientId(Identifiable patientId)
void
setSourceIds(List<String> sourceIds)
void
setStatus(List<AvailabilityStatus> status)
void
setTypedAuthorPerson(Person authorPerson)
String
toString()
-
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.
-
setTypedAuthorPerson
public void setTypedAuthorPerson(Person authorPerson)
Allows to use aPerson
instead of aString
for specifying the query parameter "$XDSSubmissionSetAuthorPerson".- Parameters:
authorPerson
- aPerson
object.
-
getTypedAuthorPerson
public Person getTypedAuthorPerson()
Tries to return the query parameter "$XDSSubmissionSetAuthorPerson" as aPerson
instead of aString
. This may fail if SQL LIKE wildcards ("%", "_", etc.) are used.- Returns:
- a
Person
object.
-
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
-
getStatus
public List<AvailabilityStatus> getStatus()
-
setStatus
public void setStatus(List<AvailabilityStatus> status)
-
getAuthorPerson
public String getAuthorPerson()
-
setAuthorPerson
public void setAuthorPerson(String authorPerson)
-
getPatientId
public Identifiable getPatientId()
- Specified by:
getPatientId
in interfacePatientIdBasedStoredQuery
-
setPatientId
public void setPatientId(Identifiable patientId)
- Specified by:
setPatientId
in interfacePatientIdBasedStoredQuery
-
getSubmissionTime
public TimeRange getSubmissionTime()
-
-