1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16 package org.openehealth.ipf.commons.ihe.xds.core.requests.query;
17
18 import lombok.EqualsAndHashCode;
19 import lombok.Getter;
20 import lombok.Setter;
21 import lombok.ToString;
22 import org.openehealth.ipf.commons.ihe.xds.core.metadata.Code;
23 import org.openehealth.ipf.commons.ihe.xds.core.metadata.DocumentEntryType;
24
25 import javax.xml.bind.annotation.XmlAccessType;
26 import javax.xml.bind.annotation.XmlAccessorType;
27 import javax.xml.bind.annotation.XmlElement;
28 import javax.xml.bind.annotation.XmlType;
29 import java.util.List;
30
31
32
33
34
35
36
37
38 @XmlAccessorType(XmlAccessType.FIELD)
39 @XmlType(name = "GetByIdAndCodesQuery", propOrder = {
40 "confidentialityCodes", "formatCodes", "documentEntryTypes"})
41 @EqualsAndHashCode(callSuper = true, doNotUseGetters = true)
42 @ToString(callSuper = true, doNotUseGetters = true)
43 public abstract class GetByIdAndCodesQuery extends GetFromDocumentQuery
44 implements DocumentEntryTypeAwareStoredQuery
45 {
46 private static final long serialVersionUID = -8311996966550912396L;
47
48 @XmlElement(name = "confidentialityCode")
49 @Getter @Setter private QueryList<Code> confidentialityCodes;
50 @XmlElement(name = "formatCode")
51 @Getter @Setter private List<Code> formatCodes;
52 @XmlElement(name = "documentEntryType")
53 @Getter @Setter private List<DocumentEntryType> documentEntryTypes;
54
55
56
57
58
59 public GetByIdAndCodesQuery() {
60 }
61
62
63
64
65
66
67 protected GetByIdAndCodesQuery(QueryType type) {
68 super(type);
69 }
70 }