public class LocationRequest extends java.lang.Object implements java.lang.Cloneable
<held:locationRequest> XML element.| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
EMERGENCY_DISPATCH
Possible value for
getResponseTime(). |
static java.lang.String |
EMERGENCY_ROUTING
Possible value for
getResponseTime(). |
| Constructor and Description |
|---|
LocationRequest() |
| Modifier and Type | Method and Description |
|---|---|
LocationRequest |
clone() |
LocationType |
getLocationType() |
int |
getReponseTimeInSeconds()
Parse the response time as a seconds value.
|
java.lang.String |
getResponseTime() |
void |
setLocationType(LocationType locationType) |
void |
setResponseTime(java.lang.String responseTime) |
public static final java.lang.String EMERGENCY_DISPATCH
getResponseTime().public static final java.lang.String EMERGENCY_ROUTING
getResponseTime().public LocationRequest()
public java.lang.String getResponseTime()
public void setResponseTime(java.lang.String responseTime)
public int getReponseTimeInSeconds()
java.lang.NumberFormatException - if response time is not parseable, e.g., equal to EMERGENCY_DISPATCHpublic LocationType getLocationType()
public void setLocationType(LocationType locationType)
public LocationRequest clone()
clone in class java.lang.Object