2 * ============LICENSE_START=======================================================
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
11 * http://www.apache.org/licenses/LICENSE-2.0
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=========================================================
21 package org.onap.policy.std;
25 import javax.json.JsonObject;
27 import org.onap.policy.api.DictionaryResponse;
29 public class StdDictionaryResponse implements DictionaryResponse {
30 private String dictionaryMessage;
31 private JsonObject dictionaryJson;
32 private Map<String,String> dictionaryData;
33 private int responseCode;
36 public String getResponseMessage() {
37 return dictionaryMessage;
41 public JsonObject getDictionaryJson() {
42 return dictionaryJson;
46 public Map<String, String> getDictionaryData() {
47 return dictionaryData;
51 public int getResponseCode() {
55 public void setResponseMessage(String dictionaryMessage) {
56 this.dictionaryMessage = dictionaryMessage;
59 public void setDictionaryJson(JsonObject dictionaryJson) {
60 this.dictionaryJson = dictionaryJson;
63 public void setDictionaryData(Map<String, String> dictionaryData) {
64 this.dictionaryData = dictionaryData;
67 public void setResponseCode(int responseCode) {
68 this.responseCode = responseCode;