comparison 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
comparison
equal deleted inserted replaced
2:2897af43ccc6 3:cf06b77a8bbd
1 package econnect.wp3_3.shared;
2
3 import java.io.Serializable;
4
5 public class DataElement implements Serializable {
6
7 private static final long serialVersionUID = 1L;
8 private String name;
9 private String place;
10 private double latitude;
11 private double longitude;
12 private int granularity;
13 private String time;
14 private String description;
15
16 public DataElement(){
17
18 }
19
20 public void setValues ( String name,
21 String place,
22 double latitude,
23 double longitude,
24 int granularity,
25 String time,
26 String description ){
27 this.name = name;
28 this.place = place;
29 this.latitude = latitude;
30 this.longitude = longitude;
31 this.granularity = granularity;
32 this.time = time;
33 this.description = description;
34 }
35
36 public String getName(){
37 return this.name;
38 }
39
40 public String getPlace(){
41 return this.place;
42 }
43
44 public String getTime(){
45 return this.time;
46 }
47
48 public String getDescription(){
49 return this.description;
50 }
51
52 public double getLatitude(){
53 return this.latitude;
54 }
55
56 public double getLongitude(){
57 return this.longitude;
58 }
59
60 public int getGranularity(){
61 return this.granularity;
62 }
63
64 }