|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.lamatek.tags.google.beans.TrafficEventBean
public class TrafficEventBean
| Constructor Summary | |
|---|---|
TrafficEventBean()
Empty constructor for a traffic event. |
|
| Method Summary | |
|---|---|
java.lang.String |
getContent()
Returns the display content to show in the traffic event's info window which is displayed when the marker is clicked. |
java.lang.String |
getDescription()
Returns the text description for this traffic event. |
java.lang.String |
getDirection()
Returns the direction of the event (if it's an incident that affects one direction of a road, or null. |
java.util.Date |
getEnding()
Returns the expected ending date for this traffic event or null if the expected ending date is unknown. |
double |
getLatitude()
Returns the longitude location for this traffic event. |
double |
getLongitude()
Returns the longitude location for this traffic event. |
java.util.Date |
getReported()
Returns the date this traffic event was reported. |
int |
getSeverity()
Returns the severity of the traffic event, ranging from 1 (least) to 5 (most severe). |
java.lang.String |
getTitle()
Returns a descriptive title of this traffic event. |
java.lang.String |
getType()
Returns the traffic event type. |
java.util.Date |
getUpdated()
Returns the date the event was last updated. |
void |
setDescription(java.lang.String description)
Sets the text description for this traffic event. |
void |
setDirection(java.lang.String direction)
Sets the direction of traffic (NB, SB, EB or WB) affected by the incident. |
void |
setEnding(java.util.Date ending)
Sets the expected ending date for this traffic event. |
void |
setLatitude(double latitude)
Sets the longitude location for this traffic event. |
void |
setLongitude(double longitude)
Sets the longitude location for this traffic event. |
void |
setReported(java.util.Date reported)
Sets the date this traffic event was reported. |
void |
setSeverity(int severity)
Sets the severity of this event. |
void |
setTitle(java.lang.String title)
Sets the descriptive title of this traffic event. |
void |
setType(java.lang.String type)
Sets the type of traffic event. |
void |
setUpdated(java.util.Date updated)
Sets the date the event was last updated. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TrafficEventBean()
| Method Detail |
|---|
public java.lang.String getContent()
public java.lang.String getDescription()
public void setDescription(java.lang.String description)
String - The text description for this traffic event.public double getLatitude()
public void setLatitude(double latitude)
double - Denotes the longitude for this traffoc event.public double getLongitude()
public void setLongitude(double longitude)
double - Denotes the longitude for this traffoc event.public java.lang.String getType()
public void setType(java.lang.String type)
String - The event type.public int getSeverity()
public void setSeverity(int severity)
int - The event severity.public java.lang.String getTitle()
public void setTitle(java.lang.String title)
String - Descriptive title of the event.public java.lang.String getDirection()
public void setDirection(java.lang.String direction)
String - The traffic direction affected.public java.util.Date getEnding()
public void setEnding(java.util.Date ending)
ending - Expected ending datepublic java.util.Date getReported()
public void setReported(java.util.Date reported)
reported - The date the event was reported.public java.util.Date getUpdated()
public void setUpdated(java.util.Date updated)
updated - The date the event was last updated.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||