/* AWE - Amanzi Wireless Explorer
* http://awe.amanzi.org
* (C) 2008-2009, AmanziTel AB
*
* This library is provided under the terms of the Eclipse Public License
* as described at http://www.eclipse.org/legal/epl-v10.html. Any use,
* reproduction or distribution of the library constitutes recipient's
* acceptance of this agreement.
*
* This library is distributed WITHOUT ANY WARRANTY; without even the
* implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
*/
package org.amanzi.neo.impl.dto;
import org.amanzi.neo.models.render.IGISModel.ILocationElement;
import org.neo4j.graphdb.Node;
/**
* TODO Purpose of
* <p>
* </p>
*
* @author Nikolay Lagutko (nikolay.lagutko@amanzitel.com)
* @since 1.0.0
*/
public class LocationElement extends DataElement implements ILocationElement {
private double latitude;
private double longitude;
public LocationElement(final Node node) {
super(node);
}
@Override
public double getLatitude() {
return latitude;
}
@Override
public double getLongitude() {
return longitude;
}
/**
* @param latitude The latitude to set.
*/
public void setLatitude(final double latitude) {
this.latitude = latitude;
}
/**
* @param longitude The longitude to set.
*/
public void setLongitude(final double longitude) {
this.longitude = longitude;
}
}