|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||

java.lang.Objectde.unikassel.android.sdcframework.data.independent.GeoLocation
public class GeoLocation
The location fix data fro samples.
| Field Summary | |
|---|---|
private double |
lat
The location latitude |
static String |
Lat
The intent identifier for the latitude field |
private double |
lon
The location longitude |
static String |
Lon
The intent identifier for the longitude field |
| Constructor Summary | |
|---|---|
GeoLocation()
Constructor |
|
GeoLocation(GeoLocation location)
Copy onstructor |
|
| Method Summary | |
|---|---|
GeoLocation |
doClone()
Method to clone the sample data |
boolean |
equals(Object o)
|
double |
getLat()
Getter for the latitude |
double |
getLon()
Getter for the lon |
void |
setLat(double lat)
Setter for the lat |
void |
setLon(double lon)
Setter for the longitude |
String |
toString()
|
String |
toXML()
Serialization from the type to it's XML representation |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final String Lon
public static final String Lat
private double lon
private double lat
| Constructor Detail |
|---|
public GeoLocation()
public GeoLocation(GeoLocation location)
location - the location to copy from| Method Detail |
|---|
public boolean equals(Object o)
equals in class Objectpublic final GeoLocation doClone()
public double getLon()
public void setLon(double lon)
lon - the longitude to setpublic double getLat()
public void setLat(double lat)
lat - the lat to setpublic final String toString()
toString in class Object
public String toXML()
throws Exception
SerializableData
toXML in interface SerializableDataException - if the schema for the object is not valid
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||