3373f783359cb8adbd45b1e1f0cfe2ddf1f0d855
[so.git] / common / src / main / java / org / onap / so / serviceinstancebeans / RequestProcessingData.java
1 /* ============LICENSE_START=======================================================
2  * ONAP - SO
3  * ================================================================================
4  * Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
5  * ================================================================================
6  * Licensed under the Apache License, Version 2.0 (the "License");
7  * you may not use this file except in compliance with the License.
8  * You may obtain a copy of the License at
9  * 
10  *      http://www.apache.org/licenses/LICENSE-2.0
11  * 
12  * Unless required by applicable law or agreed to in writing, software
13  * distributed under the License is distributed on an "AS IS" BASIS,
14  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15  * See the License for the specific language governing permissions and
16  * limitations under the License.
17  * ============LICENSE_END=========================================================
18  */
19
20 package org.onap.so.serviceinstancebeans;
21
22 import java.util.HashMap;
23 import java.util.List;
24
25 import com.fasterxml.jackson.annotation.JsonInclude;
26 import com.fasterxml.jackson.annotation.JsonInclude.Include;
27 import org.apache.commons.lang3.builder.ToStringBuilder;
28
29
30 @JsonInclude(Include.NON_DEFAULT)
31 public class RequestProcessingData {
32         
33         protected String groupingId;
34         protected String tag;
35         protected List<HashMap<String, String>> dataPairs;
36         
37         public String getGroupingId() {
38                 return groupingId;
39         }
40         public void setGroupingId(String groupingId) {
41                 this.groupingId = groupingId;
42         }
43         public String getTag() {
44                 return tag;
45         }
46         public void setTag(String tag) {
47                 this.tag = tag;
48         }
49         public List<HashMap<String, String>> getDataPairs() {
50                 return dataPairs;
51         }
52         public void setDataPairs(List<HashMap<String, String>> dataPairs) {
53                 this.dataPairs = dataPairs;
54         }
55         @Override
56         public String toString() {
57                 return new ToStringBuilder(this).append("groupingId", groupingId).append("tag", tag)
58                                 .append("dataPairs", dataPairs).toString();
59         }
60         
61         
62 }