|
Oracle Application Server Wireless Java API Reference B14043-01 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Represents a traffic incident.
Field Summary | |
static java.lang.String |
ACCIDENT Indicates an incident caused by an accident |
static java.lang.String |
BADWEATHER Indicates an incident caused by bad weather |
static java.lang.String |
CONGESTION Indicates an incident caused by congestion |
static java.lang.String |
CONSTRUCTION Indicates an incident caused by construction |
static java.lang.String |
MAJOR Indicates an accident of major severety |
static java.lang.String |
MINOR Indicates an accident of minor severety |
static java.lang.String |
MODERATE Indicates an accident of moderate severety |
static java.lang.String |
SPECIALEVENT Indicates an incident caused by a special event |
Method Summary | |
java.lang.String |
getAdvice() Return the advice for the incident. |
java.lang.String |
getDescription() Return the description of the incident. |
java.lang.String |
getDirection() Return the direction of the route on which the incident occurs. |
int |
getId() Return the id of the incident. |
java.lang.String |
getImpact() Return the impact of the incident on traffic. |
Point |
getIncidentLocation() Return the exact location of the incident. |
TrafficRoute |
getIncidentRoute() Return the route on which the incident occurs. |
java.lang.String[] |
getLocationRange() Return the text description of incident location range. |
java.lang.String |
getSeverity() Return the string indicating the severe level of the incident. |
java.util.Calendar[] |
getTimeRange() Return the time range of the incident. |
double |
getTrafficSpeed() Return the traffic speed related with the incident. |
java.lang.String |
getType() Return the type of the incident. |
Field Detail |
public static final java.lang.String ACCIDENT
public static final java.lang.String BADWEATHER
public static final java.lang.String CONGESTION
public static final java.lang.String CONSTRUCTION
public static final java.lang.String MAJOR
public static final java.lang.String MINOR
public static final java.lang.String MODERATE
public static final java.lang.String SPECIALEVENT
Method Detail |
public java.lang.String getAdvice()
null
.public java.lang.String getDescription()
null
.public java.lang.String getDirection()
null
. If service provider does not provide this inforamtion, the default value is null
.public int getId()
public java.lang.String getImpact()
null
.public Point getIncidentLocation()
getRadius()
of Point
. If service provider does not provide this inforamtion, the default value is null
.Point
Point
public TrafficRoute getIncidentRoute()
TrafficRoute
, which is provider dependent. If service provider does not provide this inforamtion, the default value is null
.public java.lang.String[] getLocationRange()
String
. The array has two elements if the incident is descibed by both "from" location and "to" location. The array has one element if the incident is described only by one location. If service provider does not provide this inforamtion, the default value is null
.public java.lang.String getSeverity()
null
.public java.util.Calendar[] getTimeRange()
Calender
. Two elements in the array means the incident has both start time and end time. One element in the array means the incident has only start time and no specified end time. If service provider does not provide this inforamtion, the default value is null
.public double getTrafficSpeed()
Double.NAN
.public java.lang.String getType()
null
.
|
Oracle Application Server Wireless Java API Reference B14043-01 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |