[POLICY-73] replace openecomp for policy-engine
[policy/engine.git] / PolicyEngineAPI / src / main / java / org / onap / policy / std / StdDictionaryResponse.java
1 /*-
2  * ============LICENSE_START=======================================================
3  * PolicyEngineAPI
4  * ================================================================================
5  * Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
6  * ================================================================================
7  * Licensed under the Apache License, Version 2.0 (the "License");
8  * you may not use this file except in compliance with the License.
9  * You may obtain a copy of the License at
10  * 
11  *      http://www.apache.org/licenses/LICENSE-2.0
12  * 
13  * Unless required by applicable law or agreed to in writing, software
14  * distributed under the License is distributed on an "AS IS" BASIS,
15  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16  * See the License for the specific language governing permissions and
17  * limitations under the License.
18  * ============LICENSE_END=========================================================
19  */
20
21 package org.onap.policy.std;
22
23 import java.util.Map;
24
25 import javax.json.JsonObject;
26
27 import org.onap.policy.api.DictionaryResponse;
28
29 public class StdDictionaryResponse implements DictionaryResponse {
30         private String dictionaryMessage;
31         private JsonObject dictionaryJson;
32         private Map<String,String> dictionaryData; 
33         private int responseCode;
34         
35         @Override
36         public String getResponseMessage() {
37                 return dictionaryMessage;
38         }
39
40         @Override
41         public JsonObject getDictionaryJson() {
42                 return dictionaryJson;
43         }
44
45         @Override
46         public Map<String, String> getDictionaryData() {
47                 return dictionaryData;
48         }
49
50         @Override
51         public int getResponseCode() {
52                 return responseCode;
53         }
54
55         public void setResponseMessage(String dictionaryMessage) {
56                 this.dictionaryMessage = dictionaryMessage;
57         }
58
59         public void setDictionaryJson(JsonObject dictionaryJson) {
60                 this.dictionaryJson = dictionaryJson;
61         }
62
63         public void setDictionaryData(Map<String, String> dictionaryData) {
64                 this.dictionaryData = dictionaryData;
65         }
66
67         public void setResponseCode(int responseCode) {
68                 this.responseCode = responseCode;
69         }
70         
71         
72
73 }