2 * ================================================================================
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
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 * ================================================================================
20 package org.openecomp.portalsdk.analytics.model.definition;
22 import java.util.ArrayList;
23 import java.util.HashMap;
24 import java.util.List;
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;
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();
39 public String getIsMapAllowedYN() {
40 return isMapAllowedYN;
42 public void setIsMapAllowedYN(String isMapAllowedYN) {
43 this.isMapAllowedYN = isMapAllowedYN;
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);
52 public String getAddressColumn() {
55 public void setAddressColumn(String addressColumn) {
56 this.addressColumn = addressColumn;
58 public String getDataColumn() {
61 public void setDataColumn(String dataColumn) {
62 this.dataColumn = dataColumn;
64 public String getMarkerColor() {
67 public void setMarkerColor(String markerColor) {
68 this.markerColor = markerColor;
70 public List getMarkers() {
73 public void setMarkers(List markers) {
74 this.markers = markers;
76 public String getAddAddressInDataYN() {
77 return addAddressInDataYN;
79 public void setAddAddressInDataYN(String addAddressInDataYN) {
80 this.addAddressInDataYN = addAddressInDataYN;