Consolidate PolicyRestAdapter setup
[policy/engine.git] / ONAP-PAP-REST / src / main / java / org / onap / policy / pap / xacml / rest / util / JsonMessage.java
1 /*-
2  * ============LICENSE_START=======================================================
3  * ONAP-PAP-REST
4  * ================================================================================
5  * Copyright (C) 2017, 2019 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.pap.xacml.rest.util;
22
23 public class JsonMessage {
24
25     private String data;
26     private String data2;
27     private String data3;
28
29     public JsonMessage(String data) {
30         super();
31         this.data = data;
32     }
33
34     public JsonMessage(String data, String data2) {
35         super();
36         this.data = data;
37         this.data2 = data2;
38     }
39
40     public JsonMessage(String data, String data2, String data3) {
41         super();
42         this.data = data;
43         this.data2 = data2;
44         this.data3 = data3;
45     }
46
47     public String getData() {
48         return data;
49     }
50
51     public void setData(String data) {
52         this.data = data;
53     }
54
55     public String getData2() {
56         return data2;
57     }
58
59     public void setData2(String data2) {
60         this.data2 = data2;
61     }
62
63     public String getData3() {
64         return data3;
65     }
66
67     public void setData3(String data3) {
68         this.data3 = data3;
69     }
70
71 }