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 28 * <p/> 29 * Created by Ludovic on 03/07/2015. 30 */ 31 public interface Coordinate1DAware { 32 33 /** Constant <code>PROPERTY_LATITUDE="latitude"</code> */ 34 String PROPERTY_LATITUDE = "latitude"; 35 /** Constant <code>PROPERTY_LONGITUDE="longitude"</code> */ 36 String PROPERTY_LONGITUDE = "longitude"; 37 38 /** 39 * <p>getLatitude.</p> 40 * 41 * @return a {@link java.lang.Double} object. 42 */ 43 Double getLatitude(); 44 45 /** 46 * <p>setLatitude.</p> 47 * 48 * @param latitude a {@link java.lang.Double} object. 49 */ 50 void setLatitude(Double latitude); 51 52 /** 53 * <p>getLongitude.</p> 54 * 55 * @return a {@link java.lang.Double} object. 56 */ 57 Double getLongitude(); 58 59 /** 60 * <p>setLongitude.</p> 61 * 62 * @param longitude a {@link java.lang.Double} object. 63 */ 64 void setLongitude(Double longitude); 65 66 }