view src/econnect/wp3_3/shared/DataElement.java @ 52:cde4a01e9fa8 CellTable

mouse events (over/out/click) for table rows
author Sebastian Kruse <skruse@mpiwg-berlin.mpg.de>
date Mon, 10 Dec 2012 17:02:59 +0100
parents cf06b77a8bbd
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;
	}
	
}