Class GetByIdAndCodesQuery
- 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.GetFromDocumentQuery
-
- org.openehealth.ipf.commons.ihe.xds.core.requests.query.GetByIdAndCodesQuery
-
- All Implemented Interfaces:
Serializable
,DocumentEntryTypeAwareStoredQuery
- Direct Known Subclasses:
GetFolderAndContentsQuery
,GetSubmissionSetAndContentsQuery
public abstract class GetByIdAndCodesQuery extends GetFromDocumentQuery implements DocumentEntryTypeAwareStoredQuery
Base class for queries that are defined by:- a UUID or unique ID
- a list of format codes
- a list of confidentiality codes
- 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 GetByIdAndCodesQuery()
For JAXB serialization only.protected
GetByIdAndCodesQuery(QueryType type)
Constructs the query.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected boolean
canEqual(Object other)
boolean
equals(Object o)
QueryList<Code>
getConfidentialityCodes()
List<DocumentEntryType>
getDocumentEntryTypes()
List<Code>
getFormatCodes()
int
hashCode()
void
setConfidentialityCodes(QueryList<Code> confidentialityCodes)
void
setDocumentEntryTypes(List<DocumentEntryType> documentEntryTypes)
void
setFormatCodes(List<Code> formatCodes)
String
toString()
-
Methods inherited from class org.openehealth.ipf.commons.ihe.xds.core.requests.query.GetFromDocumentQuery
getUniqueId, getUuid, setUniqueId, setUuid
-
Methods inherited from class org.openehealth.ipf.commons.ihe.xds.core.requests.query.StoredQuery
getExtraParameters, getHomeCommunityId, setHomeCommunityId
-
-
-
-
Constructor Detail
-
GetByIdAndCodesQuery
public GetByIdAndCodesQuery()
For JAXB serialization only.
-
GetByIdAndCodesQuery
protected GetByIdAndCodesQuery(QueryType type)
Constructs the query.- Parameters:
type
- the type of query.
-
-
Method Detail
-
equals
public boolean equals(Object o)
- Overrides:
equals
in classGetFromDocumentQuery
-
canEqual
protected boolean canEqual(Object other)
- Overrides:
canEqual
in classGetFromDocumentQuery
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classGetFromDocumentQuery
-
toString
public String toString()
- Overrides:
toString
in classGetFromDocumentQuery
-
getDocumentEntryTypes
public List<DocumentEntryType> getDocumentEntryTypes()
- Specified by:
getDocumentEntryTypes
in interfaceDocumentEntryTypeAwareStoredQuery
-
setDocumentEntryTypes
public void setDocumentEntryTypes(List<DocumentEntryType> documentEntryTypes)
- Specified by:
setDocumentEntryTypes
in interfaceDocumentEntryTypeAwareStoredQuery
-
-