Cosm
Class Location

java.lang.Object
  extended by Cosm.Location

public class Location
extends java.lang.Object


Constructor Summary
Location()
           
 
Method Summary
 Disposition getDisposition()
           
 Domain getDomain()
           
 java.lang.Double getElevation()
           
 Exposure getExposure()
           
 java.lang.Double getLat()
           
 java.lang.Double getLon()
           
 java.lang.String getName()
           
 Waypoint[] getWaypoints()
           
 void setDisposition(Disposition disposition)
           
 void setDomain(Domain domain)
           
 void setElevation(java.lang.Double elevation)
           
 void setElevation(java.lang.String elevation)
           
 void setExposure(Exposure exposure)
           
 void setLat(java.lang.Double lat)
           
 void setLat(java.lang.String lat)
           
 void setLon(java.lang.Double lon)
           
 void setLon(java.lang.String lon)
           
 void setName(java.lang.String name)
           
 void setWaypoints(Waypoint[] waypoints)
           
 org.json.JSONObject toJSONObject()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Location

public Location()
Method Detail

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