/* * This is eMonocot, a global online biodiversity information resource. * * Copyright © 2011–2015 The Board of Trustees of the Royal Botanic Gardens, Kew and The University of Oxford * * eMonocot is free software: you can redistribute it and/or modify it under the terms of the * GNU Affero General Public License as published by the Free Software Foundation, either version 3 * of the License, or (at your option) any later version. * * eMonocot 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 for more details. * * The complete text of the GNU Affero General Public License is in the source repository as the file * ‘COPYING’. It is also available from <http://www.gnu.org/licenses/>. */ package org.emonocot.job.map; import java.util.ArrayList; import java.util.List; public class MapSpec { private String layout = "A4 portrait"; private String title = ""; private boolean geodetic = false; private String srs = "EPSG:3857"; private int dpi = 300; private String units = "m"; private String outputFormat = "png"; private List<Layer> layers = new ArrayList<Layer>(); private List<Page> pages = new ArrayList<Page>(); public String getLayout() { return layout; } public void setLayout(String layout) { this.layout = layout; } public String getTitle() { return title; } public void setTitle(String title) { this.title = title; } public String getSrs() { return srs; } public void setSrs(String srs) { this.srs = srs; } public int getDpi() { return dpi; } public void setDpi(int dpi) { this.dpi = dpi; } public String getUnits() { return units; } public void setUnits(String units) { this.units = units; } public String getOutputFormat() { return outputFormat; } public void setOutputFormat(String outputFormat) { this.outputFormat = outputFormat; } public List<Layer> getLayers() { return layers; } public void setLayers(List<Layer> layers) { this.layers = layers; } public List<Page> getPages() { return pages; } public void setPages(List<Page> pages) { this.pages = pages; } public boolean isGeodetic() { return geodetic; } public void setGeodetic(boolean geodetic) { this.geodetic = geodetic; } }