85 lines
1.8 KiB
Java
85 lines
1.8 KiB
Java
package org.gcube.portlets.user.td.gwtservice.shared.geospatial;
|
|
|
|
import java.io.Serializable;
|
|
|
|
import org.gcube.portlets.user.td.gwtservice.shared.tr.ColumnData;
|
|
import org.gcube.portlets.user.td.widgetcommonevent.shared.TRId;
|
|
import org.gcube.portlets.user.td.widgetcommonevent.shared.geospatial.GeospatialCoordinatesType;
|
|
|
|
/**
|
|
*
|
|
* @author "Giancarlo Panichi" <a
|
|
* href="mailto:g.panichi@isti.cnr.it">g.panichi@isti.cnr.it</a>
|
|
*
|
|
*/
|
|
public class GeospatialCreateCoordinatesSession implements Serializable {
|
|
|
|
private static final long serialVersionUID = 7962959445625100578L;
|
|
private TRId trId;
|
|
private ColumnData latitude;
|
|
private ColumnData longitude;
|
|
private GeospatialCoordinatesType type;
|
|
|
|
public GeospatialCreateCoordinatesSession() {
|
|
}
|
|
|
|
/**
|
|
*
|
|
* @param trId
|
|
* @param latitude
|
|
* @param longitude
|
|
* @param type
|
|
*/
|
|
public GeospatialCreateCoordinatesSession(TRId trId, ColumnData latitude,
|
|
ColumnData longitude, GeospatialCoordinatesType type) {
|
|
super();
|
|
this.trId = trId;
|
|
this.latitude = latitude;
|
|
this.longitude = longitude;
|
|
this.type = type;
|
|
}
|
|
|
|
public TRId getTrId() {
|
|
return trId;
|
|
}
|
|
|
|
public void setTrId(TRId trId) {
|
|
this.trId = trId;
|
|
}
|
|
|
|
public ColumnData getLatitude() {
|
|
return latitude;
|
|
}
|
|
|
|
public void setLatitude(ColumnData latitude) {
|
|
this.latitude = latitude;
|
|
}
|
|
|
|
public ColumnData getLongitude() {
|
|
return longitude;
|
|
}
|
|
|
|
public void setLongitude(ColumnData longitude) {
|
|
this.longitude = longitude;
|
|
}
|
|
|
|
public GeospatialCoordinatesType getType() {
|
|
return type;
|
|
}
|
|
|
|
public void setType(GeospatialCoordinatesType type) {
|
|
this.type = type;
|
|
}
|
|
|
|
@Override
|
|
public String toString() {
|
|
return "CreateGeospatialCoordinatesSession [trId=" + trId
|
|
+ ", latitude=" + latitude + ", longitude=" + longitude
|
|
+ ", type=" + type + "]";
|
|
}
|
|
|
|
|
|
|
|
|
|
}
|