/* * Copyright (C) 2010-2012 Stichting Akvo (Akvo Foundation) * * This file is part of Akvo FLOW. * * Akvo FLOW is free software: you can redistribute it and modify it under the terms of * the GNU Affero General Public License (AGPL) as published by the Free Software Foundation, * either version 3 of the License or any later version. * * Akvo FLOW is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; * without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. * See the GNU Affero General Public License included below for more details. * * The full license text can also be seen at <http://www.gnu.org/licenses/agpl.html>. */ package org.waterforpeople.mapping.app.gwt.client.survey; import java.util.Date; import com.gallatinsystems.framework.gwt.dto.client.BaseDto; /** * transfer object for various types of survey summarizations. Instances will most likely be * partially populated based on the type of summarization queried. * * @author Christopher Fagiani */ public class SurveySummaryDto extends BaseDto { private static final long serialVersionUID = -1966405747413629647L; private String questionId; private String responseText; private Long count; private String countryCode; private String communityCode; private Date date; public Date getDate() { return date; } public void setDate(Date date) { this.date = date; } public String getCountryCode() { return countryCode; } public void setCountryCode(String countryCode) { this.countryCode = countryCode; } public String getCommunityCode() { return communityCode; } public void setCommunityCode(String communityCode) { this.communityCode = communityCode; } public String getQuestionId() { return questionId; } public void setQuestionId(String questionId) { this.questionId = questionId; } public String getResponseText() { return responseText; } public void setResponseText(String responseText) { this.responseText = responseText; } public Long getCount() { return count; } public void setCount(Long count) { this.count = count; } }