View Javadoc
1   package ca.uhn.fhir.rest.method;
2   
3   /*
4    * #%L
5    * HAPI FHIR - Core Library
6    * %%
7    * Copyright (C) 2014 University Health Network
8    * %%
9    * Licensed under the Apache License, Version 2.0 (the "License");
10   * you may not use this file except in compliance with the License.
11   * You may obtain a copy of the License at
12   * 
13   *      http://www.apache.org/licenses/LICENSE-2.0
14   * 
15   * Unless required by applicable law or agreed to in writing, software
16   * distributed under the License is distributed on an "AS IS" BASIS,
17   * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
18   * See the License for the specific language governing permissions and
19   * limitations under the License.
20   * #L%
21   */
22  
23  import java.util.Map;
24  
25  import ca.uhn.fhir.model.dstu.valueset.RestfulOperationSystemEnum;
26  import ca.uhn.fhir.model.dstu.valueset.RestfulOperationTypeEnum;
27  import ca.uhn.fhir.model.primitive.IdDt;
28  
29  public class RequestDetails {
30  
31  	private String myCompartmentName;
32  	private IdDt myId;
33  	private OtherOperationTypeEnum myOtherOperationType;
34  	private Map<String, String[]> myParameters;
35  	private String myResourceName;
36  	private RestfulOperationTypeEnum myResourceOperationType;
37  	private RestfulOperationSystemEnum mySystemOperationType;
38  
39  	public String getCompartmentName() {
40  		return myCompartmentName;
41  	}
42  
43  	public IdDt getId() {
44  		return myId;
45  	}
46  
47  	public OtherOperationTypeEnum getOtherOperationType() {
48  		return myOtherOperationType;
49  	}
50  
51  	public Map<String, String[]> getParameters() {
52  		return myParameters;
53  	}
54  
55  	public String getResourceName() {
56  		return myResourceName;
57  	}
58  
59  	public RestfulOperationTypeEnum getResourceOperationType() {
60  		return myResourceOperationType;
61  	}
62  
63  	public RestfulOperationSystemEnum getSystemOperationType() {
64  		return mySystemOperationType;
65  	}
66  
67  	public void setCompartmentName(String theCompartmentName) {
68  		myCompartmentName = theCompartmentName;
69  	}
70  
71  	public void setId(IdDt theId) {
72  		myId = theId;
73  	}
74  
75  	public void setOtherOperationType(OtherOperationTypeEnum theOtherOperationType) {
76  		myOtherOperationType = theOtherOperationType;
77  	}
78  
79  	public void setParameters(Map<String, String[]> theParams) {
80  		myParameters = theParams;
81  	}
82  
83  	public void setResourceName(String theResourceName) {
84  		myResourceName = theResourceName;
85  	}
86  
87  	public void setResourceOperationType(RestfulOperationTypeEnum theResourceOperationType) {
88  		myResourceOperationType = theResourceOperationType;
89  	}
90  
91  	public void setSystemOperationType(RestfulOperationSystemEnum theSystemOperationType) {
92  		mySystemOperationType = theSystemOperationType;
93  	}
94  
95  }