/* * 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.analytics.domain; import javax.jdo.annotations.PersistenceCapable; import javax.jdo.annotations.Persistent; import org.waterforpeople.mapping.domain.AccessPoint; import com.gallatinsystems.framework.domain.BaseDomain; /** * roll-up for access point status aggregations * * @author Christopher Fagiani */ @PersistenceCapable public class AccessPointStatusSummary extends BaseDomain { private static final long serialVersionUID = 6629466550148260904L; private Long count; private String year; @Persistent private AccessPoint.Status status; private String country; private String community; private String type; public Long getCount() { return count; } public void setCount(Long count) { this.count = count; } public String getYear() { return year; } public void setYear(String year) { this.year = year; } public AccessPoint.Status getStatus() { return status; } public void setStatus(AccessPoint.Status status) { this.status = status; } public String getCountry() { return country; } public void setCountry(String country) { this.country = country; } public String getCommunity() { return community; } public void setCommunity(String community) { this.community = community; } public String getType() { return type; } public void setType(String type) { this.type = type; } }