view src/econnect/wp3_3/shared/DataElement.java @ 3:cf06b77a8bbd

Committed branch of the e4D repos sti-gwt branch 16384. git-svn-id: http://dev.dariah.eu/svn/repos/eu.dariah.de/ap1/sti-gwt-dariah-geobrowser@36 f2b5be40-def6-11e0-8a09-b3c1cc336c6b
author StefanFunk <StefanFunk@f2b5be40-def6-11e0-8a09-b3c1cc336c6b>
date Tue, 17 Jul 2012 13:34:40 +0000
parents
children
line wrap: on
line source

package econnect.wp3_3.shared;

import java.io.Serializable;

public class DataElement implements Serializable {

	private static final long serialVersionUID = 1L;
	private String name;
	private String place;
	private double latitude;
	private double longitude;
	private int granularity;
	private String time;
	private String description;
	
	public DataElement(){
		
	}
	
	public void setValues (	String name,
							String place,
							double latitude,
							double longitude,
							int granularity,
							String time,
							String description	){
		this.name = name;
		this.place = place;
		this.latitude = latitude;
		this.longitude = longitude;
		this.granularity = granularity;
		this.time = time;
		this.description = description;		
	}
	
	public String getName(){
		return this.name;
	}
	
	public String getPlace(){
		return this.place;
	}

	public String getTime(){
		return this.time;
	}

	public String getDescription(){
		return this.description;
	}

	public double getLatitude(){
		return this.latitude;
	}

	public double getLongitude(){
		return this.longitude;
	}

	public int getGranularity(){
		return this.granularity;
	}
	
}