Cosm
Class Location
java.lang.Object
Cosm.Location
public class Location
- extends java.lang.Object
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Location
public Location()
toJSONObject
public org.json.JSONObject toJSONObject()
throws org.json.JSONException
- Throws:
org.json.JSONException
getWaypoints
public Waypoint[] getWaypoints()
setWaypoints
public void setWaypoints(Waypoint[] waypoints)
setLat
public void setLat(java.lang.String lat)
setLon
public void setLon(java.lang.String lon)
setElevation
public void setElevation(java.lang.String elevation)
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
getName
public java.lang.String getName()
- Returns:
- the name
setName
public void setName(java.lang.String name)
- Parameters:
name
- the name to set
getLat
public java.lang.Double getLat()
- Returns:
- the lat
setLat
public void setLat(java.lang.Double lat)
- Parameters:
lat
- the lat to set
getLon
public java.lang.Double getLon()
- Returns:
- the lon
setLon
public void setLon(java.lang.Double lon)
- Parameters:
lon
- the lon to set
getElevation
public java.lang.Double getElevation()
- Returns:
- the elevation
setElevation
public void setElevation(java.lang.Double elevation)
- Parameters:
elevation
- the elevation to set
getExposure
public Exposure getExposure()
- Returns:
- the exposure
setExposure
public void setExposure(Exposure exposure)
- Parameters:
exposure
- the exposure to set
getDomain
public Domain getDomain()
- Returns:
- the domain
setDomain
public void setDomain(Domain domain)
- Parameters:
domain
- the domain to set
getDisposition
public Disposition getDisposition()
- Returns:
- the disposition
setDisposition
public void setDisposition(Disposition disposition)
- Parameters:
disposition
- the disposition to set