1 package fr.ifremer.dali.dto.data; 2 3 /* 4 * #%L 5 * Dali :: Core 6 * $Id:$ 7 * $HeadURL:$ 8 * %% 9 * Copyright (C) 2014 - 2015 Ifremer 10 * %% 11 * This program is free software: you can redistribute it and/or modify 12 * it under the terms of the GNU Affero General Public License as published by 13 * the Free Software Foundation, either version 3 of the License, or 14 * (at your option) any later version. 15 * 16 * This program is distributed in the hope that it will be useful, 17 * but WITHOUT ANY WARRANTY; without even the implied warranty of 18 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 19 * GNU General Public License for more details. 20 * 21 * You should have received a copy of the GNU Affero General Public License 22 * along with this program. If not, see <http://www.gnu.org/licenses/>. 23 * #L% 24 */ 25 26 /** 27 * Interface to aware bean to get the bean coordinate in 2 dimensions 28 * <p/> 29 * Created by Ludovic on 14/06/2017. 30 */ 31 public interface Coordinate2DAware { 32 33 /** Constant <code>PROPERTY_LATITUDE_MIN="latitudeMin"</code> */ 34 String PROPERTY_LATITUDE_MIN = "latitudeMin"; 35 /** Constant <code>PROPERTY_LATITUDE_MAX="latitudeMax"</code> */ 36 String PROPERTY_LATITUDE_MAX = "latitudeMax"; 37 /** Constant <code>PROPERTY_LONGITUDE_MIN="longitudeMin"</code> */ 38 String PROPERTY_LONGITUDE_MIN = "longitudeMin"; 39 /** Constant <code>PROPERTY_LONGITUDE_MAX="longitudeMax"</code> */ 40 String PROPERTY_LONGITUDE_MAX = "longitudeMax"; 41 42 /** 43 * <p>getLatitudeMin.</p> 44 * 45 * @return a {@link Double} object. 46 */ 47 Double getLatitudeMin(); 48 49 /** 50 * <p>setLatitudeMin.</p> 51 * 52 * @param latitudeMin a {@link Double} object. 53 */ 54 void setLatitudeMin(Double latitudeMin); 55 56 /** 57 * <p>getLatitudeMax.</p> 58 * 59 * @return a {@link Double} object. 60 */ 61 Double getLatitudeMax(); 62 63 /** 64 * <p>setLatitudeMax.</p> 65 * 66 * @param latitudeMax a {@link Double} object. 67 */ 68 void setLatitudeMax(Double latitudeMax); 69 70 /** 71 * <p>getLongitudeMin.</p> 72 * 73 * @return a {@link Double} object. 74 */ 75 Double getLongitudeMin(); 76 77 /** 78 * <p>setLongitudeMin.</p> 79 * 80 * @param longitudeMin a {@link Double} object. 81 */ 82 void setLongitudeMin(Double longitudeMin); 83 84 /** 85 * <p>getLongitudeMax.</p> 86 * 87 * @return a {@link Double} object. 88 */ 89 Double getLongitudeMax(); 90 91 /** 92 * <p>setLongitudeMax.</p> 93 * 94 * @param longitudeMax a {@link Double} object. 95 */ 96 void setLongitudeMax(Double longitudeMax); 97 98 }