1 package org.onap.policy.api;
5 import javax.json.JsonObject;
7 public interface DictionaryResponse {
10 * Gets the <code>String</code> of the DictionaryItemsMessage from <code>DictionaryResponse</code>.
12 * @return the <code>String</code> which consists of DictionaryItemsMessage from <code>DictionaryResponse</code>
14 public String getResponseMessage();
17 * Response code of type <code>Integer</code> which corresponds to the HTTP Response code explaining the response from Policy Engine.
19 * @return the responseCode in <code>Integer</code> format corresponding to the HTTP response code from Policy Engine.
21 public int getResponseCode();
25 * Gets the <code>JsonObject</code> of all the Dictionary data retrieved
27 * @return the <code>JsonObject</code> which consists of Dictionary data which has been retrieved.
29 public JsonObject getDictionaryJson();
33 * Gets the Key and Value pairs for each Dictionary item retrieved which can be used in the getDictionaryItems call.
35 * @return <code>Map</code> of <code>String, String</code> which consists of the Key and Value pairs for each Dictionary item retrieved.
37 public Map<String,String> getDictionaryData();