/** * The contents of this file are subject to the OpenMRS Public License * Version 1.0 (the "License"); you may not use this file except in * compliance with the License. You may obtain a copy of the License at * http://license.openmrs.org * * Software distributed under the License is distributed on an "AS IS" * basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the * License for the specific language governing rights and limitations * under the License. * * Copyright (C) OpenMRS, LLC. All Rights Reserved. */ package org.openmrs.reporting.export; import java.io.Serializable; /** * @deprecated see reportingcompatibility module */ @Deprecated public class SimpleColumn implements ExportColumn, Serializable { public static final long serialVersionUID = 987654322L; private String columnType = "simple"; private String columnName = ""; private String returnValue = ""; public SimpleColumn() { } public SimpleColumn(String columnName, String columnValue) { this.columnName = columnName; returnValue = columnValue; } public String toTemplateString() { return returnValue; } public String getColumnType() { return columnType; } public void setColumnType(String columnType) { this.columnType = columnType; } public String getTemplateColumnName() { return columnName; } public String getColumnName() { return columnName; } public void setColumnName(String columnName) { this.columnName = columnName; } public String getReturnValue() { return returnValue; } public void setReturnValue(String returnValue) { this.returnValue = returnValue; } }