public class SendLocation extends RPCRequest
| Modifier and Type | Field and Description |
|---|---|
static String |
KEY_ADDRESS |
static String |
KEY_ADDRESS_LINES |
static String |
KEY_DELIVERY_MODE |
static String |
KEY_LAT_DEGREES |
static String |
KEY_LOCATION_DESCRIPTION |
static String |
KEY_LOCATION_IMAGE |
static String |
KEY_LOCATION_NAME |
static String |
KEY_LON_DEGREES |
static String |
KEY_PHONE_NUMBER |
static String |
KEY_TIME_STAMP |
onResponseListenerfunction, KEY_CORRELATION_ID, KEY_FUNCTION_NAME, KEY_NOTIFICATION, KEY_PARAMETERS, KEY_REQUEST, KEY_RESPONSE, messageType, parametersKEY_BULK_DATA, KEY_PROTECTED, store| Constructor and Description |
|---|
SendLocation()
Constructs a new SendLocation object
|
SendLocation(Hashtable<String,Object> hash)
Constructs a new SendLocation object indicated by the Hashtable parameter
|
| Modifier and Type | Method and Description |
|---|---|
OasisAddress |
getAddress() |
List<String> |
getAddressLines()
Getter for address lines of the location to send.
|
DeliveryMode |
getDeliveryMode() |
Double |
getLatitudeDegrees()
Getter for latitude of the location to send.
|
String |
getLocationDescription()
Getter for description of the location to send.
|
Image |
getLocationImage()
Getter for image of the location to send.
|
String |
getLocationName()
Getter for name of the location to send.
|
Double |
getLongitudeDegrees()
Getter for longitude of the location to send.
|
String |
getPhoneNumber()
Getter for phone number of the location to send.
|
DateTime |
getTimeStamp() |
SendLocation |
setAddress(OasisAddress address) |
SendLocation |
setAddressLines(List<String> addressLines)
Setter for address lines of the location to send.
|
SendLocation |
setDeliveryMode(DeliveryMode deliveryMode) |
SendLocation |
setLatitudeDegrees(Double latitudeDegrees)
Setter for latitude of the location to send.
|
SendLocation |
setLocationDescription(String locationDescription)
Setter for description of the location to send.
|
SendLocation |
setLocationImage(Image locationImage)
Setter for image of the location to send.
|
SendLocation |
setLocationName(String locationName)
Setter for name of the location to send.
|
SendLocation |
setLongitudeDegrees(Double longitudeDegrees)
Setter for longitude of the location to send.
|
SendLocation |
setPhoneNumber(String phoneNumber)
Setter for phone number of the location to send.
|
SendLocation |
setTimeStamp(DateTime timeStamp) |
getCorrelationID, getOnRPCResponseListener, setCorrelationID, setOnRPCResponseListenergetBoolean, getDouble, getFloat, getFunctionID, getFunctionName, getInteger, getLong, getMessageType, getObject, getParameters, getString, setFunctionName, setParametersclone, deserializeJSON, equals, format, formatObject, getBulkData, getMessageTypeName, getStore, getStoreValue, getValue, getValueForString, hashCode, hasKey, isPayloadProtected, serializeJSON, serializeJSON, setBulkData, setPayloadProtected, setValuepublic static final String KEY_LAT_DEGREES
public static final String KEY_LON_DEGREES
public static final String KEY_LOCATION_NAME
public static final String KEY_LOCATION_DESCRIPTION
public static final String KEY_PHONE_NUMBER
public static final String KEY_ADDRESS_LINES
public static final String KEY_LOCATION_IMAGE
public static final String KEY_DELIVERY_MODE
public static final String KEY_TIME_STAMP
public static final String KEY_ADDRESS
public Double getLongitudeDegrees()
IMPORTANT NOTE:
A previous version of this method call returned a Float value, however, it has been changed to return a Double.
This will compile, but cause a ClassCastException if your value is not also a Double type.public SendLocation setLongitudeDegrees(Double longitudeDegrees)
longitudeDegrees - degrees of the longitudinal positionpublic Double getLatitudeDegrees()
IMPORTANT NOTE:
A previous version of this method call returned a Float value, however, it has been changed to return a Double.
This will compile, but cause a ClassCastException if your value is not also a Double type.public SendLocation setLatitudeDegrees(Double latitudeDegrees)
latitudeDegrees - degrees of the latitudinal positionpublic String getLocationName()
public SendLocation setLocationName(String locationName)
locationName - The name of the locationpublic String getLocationDescription()
public SendLocation setLocationDescription(String locationDescription)
locationDescription - The description of the locationpublic String getPhoneNumber()
public SendLocation setPhoneNumber(String phoneNumber)
phoneNumber - The phone number of the locationpublic List<String> getAddressLines()
public SendLocation setAddressLines(List<String> addressLines)
addressLines - The address lines of the locationpublic Image getLocationImage()
public SendLocation setLocationImage(Image locationImage)
locationImage - The image of the location to sendpublic DeliveryMode getDeliveryMode()
public SendLocation setDeliveryMode(DeliveryMode deliveryMode)
public DateTime getTimeStamp()
public SendLocation setTimeStamp(DateTime timeStamp)
public OasisAddress getAddress()
public SendLocation setAddress(OasisAddress address)