org.onebusaway.transit_data_federation.model.oba
Class Place

java.lang.Object
  extended by org.onebusaway.container.model.IdentityBean<String>
      extended by org.onebusaway.transit_data_federation.model.oba.Place
All Implemented Interfaces:
Serializable

public class Place
extends IdentityBean<String>

A place is something with a street address that we find directions to in the "one bus ride away" explore tool.

Author:
bdferris
See Also:
Serialized Form

Constructor Summary
Place()
           
 
Method Summary
 String getId()
           
 double getLat()
           
 double getLon()
           
 String getName()
           
 void setId(String id)
           
 void setLat(double lat)
           
 void setLon(double lon)
           
 void setName(String name)
           
 String toString()
           
 
Methods inherited from class org.onebusaway.container.model.IdentityBean
equals, hashCode
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Place

public Place()
Method Detail

getId

public String getId()
Specified by:
getId in class IdentityBean<String>

setId

public void setId(String id)
Specified by:
setId in class IdentityBean<String>

setName

public void setName(String name)

getName

public String getName()

toString

public String toString()
Overrides:
toString in class Object

getLat

public double getLat()

setLat

public void setLat(double lat)

getLon

public double getLon()

setLon

public void setLon(double lon)


Copyright © 2012 OneBusAway. All Rights Reserved.