1 package ca.uhn.fhir.context;
2
3 import java.util.List;
4
5 import ca.uhn.fhir.model.dstu.valueset.SearchParamTypeEnum;
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27 public class RuntimeSearchParam {
28
29 private String myDescription;
30 private String myName;
31 private SearchParamTypeEnum myParamType;
32 private String myPath;
33 private List<RuntimeSearchParam> myCompositeOf;
34
35 public RuntimeSearchParam(String theName, String theDescription, String thePath, SearchParamTypeEnum theParamType) {
36 this(theName, theDescription, thePath, theParamType, null);
37 }
38
39 public RuntimeSearchParam(String theName, String theDescription, String thePath, SearchParamTypeEnum theParamType, List<RuntimeSearchParam> theCompositeOf) {
40 super();
41 myName = theName;
42 myDescription = theDescription;
43 myPath = thePath;
44 myParamType = theParamType;
45 myCompositeOf = theCompositeOf;
46 }
47
48 public List<RuntimeSearchParam> getCompositeOf() {
49 return myCompositeOf;
50 }
51
52 public String getDescription() {
53 return myDescription;
54 }
55
56 public String getName() {
57 return myName;
58 }
59
60 public SearchParamTypeEnum getParamType() {
61 return myParamType;
62 }
63
64 public String getPath() {
65 return myPath;
66 }
67
68 }