1 /* 2 * Copyright (c) 2002-2017, Mairie de Paris 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 9 * 1. Redistributions of source code must retain the above copyright notice 10 * and the following disclaimer. 11 * 12 * 2. Redistributions in binary form must reproduce the above copyright notice 13 * and the following disclaimer in the documentation and/or other materials 14 * provided with the distribution. 15 * 16 * 3. Neither the name of 'Mairie de Paris' nor 'Lutece' nor the names of its 17 * contributors may be used to endorse or promote products derived from 18 * this software without specific prior written permission. 19 * 20 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 21 * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 22 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 23 * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDERS OR CONTRIBUTORS BE 24 * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 25 * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 26 * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 27 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 28 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 29 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 30 * POSSIBILITY OF SUCH DAMAGE. 31 * 32 * License 1.0 33 */ 34 package fr.paris.lutece.plugins.directory.modules.gismap.business; 35 36 import javax.xml.bind.annotation.XmlRootElement; 37 38 @XmlRootElement(name = "DirectoryGismapSourceQuery") 39 public class DirectoryGismapSourceQuery { 40 41 private int _idGeolocationEntry; 42 private String _geolocationEntryTitle; 43 private String _listIdRecord; 44 private int _idDirectory; 45 private String _directoryTitle; 46 private int _geoJsonIndex; 47 private String _view; 48 49 public DirectoryGismapSourceQuery() { 50 } 51 52 53 @Override 54 public String toString() { 55 return "DirectoryGismapSourceQuery [idGeolocationEntry=" + _idGeolocationEntry 56 + ", IdDirectory=" + _idDirectory + ", listIdRecord=" + _listIdRecord + ", geoJsonIndex=" + _geoJsonIndex+ ", view="+ _view + "]"; 57 } 58 59 /** Getter for idGeolocationEntry 60 * @return idGeolocationEntry 61 */ 62 public int getIdGeolocationEntry() { 63 return _idGeolocationEntry; 64 } 65 66 67 /** Setter for idGeolocationEntry 68 * @param idGeolocationEntry 69 */ 70 public void setIdGeolocationEntry(int idGeolocationEntry) { 71 _idGeolocationEntry = idGeolocationEntry; 72 } 73 74 /** Getter for idDirectory 75 * @return idDirectory 76 */ 77 public int getIdDirectory() { 78 return _idDirectory; 79 } 80 81 82 /** Setter for idDirectory 83 * @param idDirectory 84 */ 85 public void setIdDirectory(int idDirectory) { 86 _idDirectory = idDirectory; 87 } 88 89 /** Getter for listIdRecord 90 * @return listIdRecord 91 */ 92 public String getListIdRecord( ) { 93 return _listIdRecord; 94 } 95 96 /** Setter for listIdRecord 97 * @param listIdRecord 98 */ 99 public void setListIdRecord(String listIdRecord) { 100 _listIdRecord = listIdRecord; 101 } 102 103 /** Getter for geoJsonIndex 104 * @return geoJsonIndex 105 */ 106 public int getGeoJsonIndex( ) { 107 return _geoJsonIndex; 108 } 109 110 /** Setter for geoJsonIndex 111 * @param geoJsonIndex 112 */ 113 public void setGeoJsonIndex(int geoJsonIndex) { 114 _geoJsonIndex = geoJsonIndex; 115 116 } 117 118 /** Getter for view 119 * @return _view 120 */ 121 public String getView() { 122 return _view; 123 } 124 125 /** Setter for view 126 * @param strView 127 */ 128 public void setView(String strView) { 129 this._view = strView; 130 } 131 132 133 /** Getter for geolocationEntryTitle 134 * @return _geolocationEntryTitle 135 */ 136 public String getGeolocationEntryTitle() { 137 return _geolocationEntryTitle; 138 } 139 140 141 /** Setter for geolocationEntryTitle 142 * @param geolocationEntryTitle 143 */ 144 public void setGeolocationEntryTitle(String geolocationEntryTitle) { 145 this._geolocationEntryTitle = geolocationEntryTitle; 146 } 147 148 149 /** Getter for directoryTitle 150 * @return _directoryTitle 151 */ 152 public String getDirectoryTitle() { 153 return _directoryTitle; 154 } 155 156 157 /** Setter for directoryTitle 158 * @param directoryTitle 159 */ 160 public void setDirectoryTitle(String directoryTitle) { 161 this._directoryTitle = directoryTitle; 162 } 163 164 }