org.csapi.jr.se.mm
Class UserLocationEmergencyRequest

java.lang.Object
  |
  +--org.csapi.jr.se.mm.UserLocationEmergencyRequest
All Implemented Interfaces:
java.io.Serializable

public final class UserLocationEmergencyRequest
extends java.lang.Object
implements java.io.Serializable

Defines the Sequence of Data Elements that specify the request for the location of an emergency service user. The emergency service user is identified by a combination of user address, NaESRD, NaESRK and IMEI. NaESRD, NaESRK and IMEI may be provided, if the emergency service user has originated the emergency service call in North America.

See Also:
Serialized Form

Constructor Summary
UserLocationEmergencyRequest()
          Creates a new UserLocationEmergencyRequest instance.
UserLocationEmergencyRequest(boolean _userAddressPresent, org.csapi.jr.se.Address _userAddress, boolean _naEsrdPresent, java.lang.String _naEsrd, boolean _naEsrkPresent, java.lang.String _naEsrk, boolean _imeiPresent, java.lang.String _imei, org.csapi.jr.se.mm.LocationRequest _locationReq)
          Creates a new UserLocationEmergencyRequest instance.
 
Method Summary
 boolean equals(java.lang.Object o)
          Indicates whether some other object is 'equal to' this one.
 java.lang.String getImei()
          This method returns a imei.
 boolean getImeiPresent()
          This method returns a imeiPresent.
 org.csapi.jr.se.mm.LocationRequest getLocationReq()
          This method returns a locationReq.
 java.lang.String getNaEsrd()
          This method returns a naEsrd.
 boolean getNaEsrdPresent()
          This method returns a naEsrdPresent.
 java.lang.String getNaEsrk()
          This method returns a naEsrk.
 boolean getNaEsrkPresent()
          This method returns a naEsrkPresent.
 org.csapi.jr.se.Address getUserAddress()
          This method returns a userAddress.
 boolean getUserAddressPresent()
          This method returns a userAddressPresent.
 int hashCode()
          Returns a hashcode value for the object.
 void setImei(java.lang.String imei)
          This method sets a imei.
 void setImeiPresent(boolean imeiPresent)
          This method sets a imeiPresent.
 void setLocationReq(org.csapi.jr.se.mm.LocationRequest locationReq)
          This method sets a locationReq.
 void setNaEsrd(java.lang.String naEsrd)
          This method sets a naEsrd.
 void setNaEsrdPresent(boolean naEsrdPresent)
          This method sets a naEsrdPresent.
 void setNaEsrk(java.lang.String naEsrk)
          This method sets a naEsrk.
 void setNaEsrkPresent(boolean naEsrkPresent)
          This method sets a naEsrkPresent.
 void setUserAddress(org.csapi.jr.se.Address userAddress)
          This method sets a userAddress.
 void setUserAddressPresent(boolean userAddressPresent)
          This method sets a userAddressPresent.
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UserLocationEmergencyRequest

public UserLocationEmergencyRequest()
Creates a new UserLocationEmergencyRequest instance.


UserLocationEmergencyRequest

public UserLocationEmergencyRequest(boolean _userAddressPresent,
                                    org.csapi.jr.se.Address _userAddress,
                                    boolean _naEsrdPresent,
                                    java.lang.String _naEsrd,
                                    boolean _naEsrkPresent,
                                    java.lang.String _naEsrk,
                                    boolean _imeiPresent,
                                    java.lang.String _imei,
                                    org.csapi.jr.se.mm.LocationRequest _locationReq)
Creates a new UserLocationEmergencyRequest instance.

Parameters:
_userAddressPresent - Flag indicating if the user address is present.
_userAddress - The address of the user.
_naEsrdPresent - Flag indicating if the NaESRD is present.
_naEsrd - Current NaESRD for the user.
_naEsrkPresent - Flag indicating if the NaESRK is present.
_naEsrk - Current NaESRK for the user.
_imeiPresent - Flag indicating if the IMEI is present.
_imei - IMEI for the user.
_locationReq - The actual location request.
Method Detail

getUserAddressPresent

public boolean getUserAddressPresent()
This method returns a userAddressPresent.

Returns:
a boolean value

getUserAddress

public org.csapi.jr.se.Address getUserAddress()
This method returns a userAddress.

Returns:
a org.csapi.jr.se.Address value

getNaEsrdPresent

public boolean getNaEsrdPresent()
This method returns a naEsrdPresent.

Returns:
a boolean value

getNaEsrd

public java.lang.String getNaEsrd()
This method returns a naEsrd.

Returns:
a String value

getNaEsrkPresent

public boolean getNaEsrkPresent()
This method returns a naEsrkPresent.

Returns:
a boolean value

getNaEsrk

public java.lang.String getNaEsrk()
This method returns a naEsrk.

Returns:
a String value

getImeiPresent

public boolean getImeiPresent()
This method returns a imeiPresent.

Returns:
a boolean value

getImei

public java.lang.String getImei()
This method returns a imei.

Returns:
a String value

getLocationReq

public org.csapi.jr.se.mm.LocationRequest getLocationReq()
This method returns a locationReq.

Returns:
a org.csapi.jr.se.mm.LocationRequest value

setUserAddressPresent

public void setUserAddressPresent(boolean userAddressPresent)
This method sets a userAddressPresent.


setUserAddress

public void setUserAddress(org.csapi.jr.se.Address userAddress)
This method sets a userAddress.


setNaEsrdPresent

public void setNaEsrdPresent(boolean naEsrdPresent)
This method sets a naEsrdPresent.


setNaEsrd

public void setNaEsrd(java.lang.String naEsrd)
This method sets a naEsrd.


setNaEsrkPresent

public void setNaEsrkPresent(boolean naEsrkPresent)
This method sets a naEsrkPresent.


setNaEsrk

public void setNaEsrk(java.lang.String naEsrk)
This method sets a naEsrk.


setImeiPresent

public void setImeiPresent(boolean imeiPresent)
This method sets a imeiPresent.


setImei

public void setImei(java.lang.String imei)
This method sets a imei.


setLocationReq

public void setLocationReq(org.csapi.jr.se.mm.LocationRequest locationReq)
This method sets a locationReq.


equals

public boolean equals(java.lang.Object o)
Indicates whether some other object is 'equal to' this one.

Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Returns a hashcode value for the object.

Overrides:
hashCode in class java.lang.Object