e3c417a1dda7481c5dc1db3294dc93be41541804
[portal/sdk.git] /
1 /*-
2  * ================================================================================
3  * eCOMP Portal SDK
4  * ================================================================================
5  * Copyright (C) 2017 AT&T Intellectual Property
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  * ================================================================================
19  */
20 package org.openecomp.portalsdk.analytics.model.definition;
21
22 import java.util.ArrayList;
23 import java.util.HashMap;
24 import java.util.List;
25
26 import org.openecomp.portalsdk.analytics.RaptorObject;
27 import org.openecomp.portalsdk.analytics.view.DataRow;
28 import org.openecomp.portalsdk.analytics.view.DataValue;
29 import org.openecomp.portalsdk.analytics.view.ReportData;
30
31 public class ReportMap extends RaptorObject {
32         String markerColor = "";
33         String addressColumn = "";
34         String dataColumn = "";
35         String isMapAllowedYN = "";
36         String addAddressInDataYN = "";
37         List markers = new ArrayList();
38         
39         public String getIsMapAllowedYN() {
40                 return isMapAllowedYN;
41         }
42         public void setIsMapAllowedYN(String isMapAllowedYN) {
43                 this.isMapAllowedYN = isMapAllowedYN;
44         }
45         public ReportMap(String markerColor, String addressColumn, String dataColumn, String isMapAllowed, String addAddressInDataYN){
46                 this.setMarkerColor(markerColor);
47                 this.setAddressColumn(addressColumn);
48                 this.setDataColumn(dataColumn);
49                 this.setIsMapAllowedYN(isMapAllowed);
50                 this.setAddAddressInDataYN(addAddressInDataYN);
51         }
52         public String getAddressColumn() {
53                 return addressColumn;
54         }
55         public void setAddressColumn(String addressColumn) {
56                 this.addressColumn = addressColumn;
57         }
58         public String getDataColumn() {
59                 return dataColumn;
60         }
61         public void setDataColumn(String dataColumn) {
62                 this.dataColumn = dataColumn;
63         }
64         public String getMarkerColor() {
65                 return markerColor;
66         }
67         public void setMarkerColor(String markerColor) {
68                 this.markerColor = markerColor;
69         }
70         public List getMarkers() {
71                 return markers;
72         }
73         public void setMarkers(List markers) {
74                 this.markers = markers;
75         }
76         public String getAddAddressInDataYN() {
77                 return addAddressInDataYN;
78         }
79         public void setAddAddressInDataYN(String addAddressInDataYN) {
80                 this.addAddressInDataYN = addAddressInDataYN;
81         }
82         
83         
84         
85         
86 }