/* * 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.community; import java.io.Serializable; import com.gallatinsystems.framework.gwt.dto.client.BaseDto; public class CountryDto extends BaseDto implements Serializable { private static final long serialVersionUID = -4677743992145776719L; private String displayName = null; private String name = null; private String isoAlpha2Code = null; private String isoAlpha3Code = null; private Integer isoNumeric3Code = null; private Boolean includeInKMZ; private Boolean includeInExternal; private Double centroidLat; private Double centroidLon; public Boolean getIncludeInKMZ() { return includeInKMZ; } public void setIncludeInKMZ(Boolean includeInKMZ) { this.includeInKMZ = includeInKMZ; } public Boolean getIncludeInExternal() { return includeInExternal; } public void setIncludeInExternal(Boolean includeInExternal) { this.includeInExternal = includeInExternal; } public Double getCentroidLat() { return centroidLat; } public void setCentroidLat(Double centroidLat) { this.centroidLat = centroidLat; } public Double getCentroidLon() { return centroidLon; } public void setCentroidLon(Double centroidLon) { this.centroidLon = centroidLon; } public String getDisplayName() { return displayName != null ? displayName : name; } public void setDisplayName(String displayName) { this.displayName = displayName; } public String getIsoAlpha2Code() { return isoAlpha2Code; } public void setIsoAlpha2Code(String isoAlpha2Code) { this.isoAlpha2Code = isoAlpha2Code; } public String getIsoAlpha3Code() { return isoAlpha3Code; } public void setIsoAlpha3Code(String isoAlpha3Code) { this.isoAlpha3Code = isoAlpha3Code; } public Integer getIsoNumeric3Code() { return isoNumeric3Code; } public void setIsoNumeric3Code(Integer isoNumeric3Code) { this.isoNumeric3Code = isoNumeric3Code; } public String getName() { return name; } public void setName(String name) { this.name = name; } }