org.csapi.jr.se.mm
Class LocationRequest

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

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

Defines the Sequence of Data Elements that specify a location request.

See Also:
Serialized Form

Constructor Summary
LocationRequest()
          Creates a new LocationRequest instance.
LocationRequest(float _requestedAccuracy, org.csapi.jr.se.mm.LocationResponseTime _requestedResponseTime, boolean _altitudeRequested, org.csapi.jr.se.mm.LocationType _type, org.csapi.jr.se.mm.LocationPriority _priority, java.lang.String _requestedLocationMethod)
          Creates a new LocationRequest instance.
 
Method Summary
 boolean equals(java.lang.Object o)
          Indicates whether some other object is 'equal to' this one.
 boolean getAltitudeRequested()
          This method returns a altitudeRequested.
 org.csapi.jr.se.mm.LocationPriority getPriority()
          This method returns a priority.
 float getRequestedAccuracy()
          This method returns a requestedAccuracy.
 java.lang.String getRequestedLocationMethod()
          This method returns a requestedLocationMethod.
 org.csapi.jr.se.mm.LocationResponseTime getRequestedResponseTime()
          This method returns a requestedResponseTime.
 org.csapi.jr.se.mm.LocationType getType()
          This method returns a type.
 int hashCode()
          Returns a hashcode value for the object.
 void setAltitudeRequested(boolean altitudeRequested)
          This method sets a altitudeRequested.
 void setPriority(org.csapi.jr.se.mm.LocationPriority priority)
          This method sets a priority.
 void setRequestedAccuracy(float requestedAccuracy)
          This method sets a requestedAccuracy.
 void setRequestedLocationMethod(java.lang.String requestedLocationMethod)
          This method sets a requestedLocationMethod.
 void setRequestedResponseTime(org.csapi.jr.se.mm.LocationResponseTime requestedResponseTime)
          This method sets a requestedResponseTime.
 void setType(org.csapi.jr.se.mm.LocationType type)
          This method sets a type.
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LocationRequest

public LocationRequest()
Creates a new LocationRequest instance.


LocationRequest

public LocationRequest(float _requestedAccuracy,
                       org.csapi.jr.se.mm.LocationResponseTime _requestedResponseTime,
                       boolean _altitudeRequested,
                       org.csapi.jr.se.mm.LocationType _type,
                       org.csapi.jr.se.mm.LocationPriority _priority,
                       java.lang.String _requestedLocationMethod)
Creates a new LocationRequest instance.

Parameters:
_requestedAccuracy - Requested accuracy in meters.
_requestedResponseTime - Requested response time as a classified requirement or as an absolute timer.
_altitudeRequested - Altitude request flag.
_type - The kind of location that is requested.
_priority - Priority of location request.
_requestedLocationMethod - The kind of location method that is requested.
Method Detail

getRequestedAccuracy

public float getRequestedAccuracy()
This method returns a requestedAccuracy.

Returns:
a float value

getRequestedResponseTime

public org.csapi.jr.se.mm.LocationResponseTime getRequestedResponseTime()
This method returns a requestedResponseTime.

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

getAltitudeRequested

public boolean getAltitudeRequested()
This method returns a altitudeRequested.

Returns:
a boolean value

getType

public org.csapi.jr.se.mm.LocationType getType()
This method returns a type.

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

getPriority

public org.csapi.jr.se.mm.LocationPriority getPriority()
This method returns a priority.

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

getRequestedLocationMethod

public java.lang.String getRequestedLocationMethod()
This method returns a requestedLocationMethod.

Returns:
a String value

setRequestedAccuracy

public void setRequestedAccuracy(float requestedAccuracy)
This method sets a requestedAccuracy.


setRequestedResponseTime

public void setRequestedResponseTime(org.csapi.jr.se.mm.LocationResponseTime requestedResponseTime)
This method sets a requestedResponseTime.


setAltitudeRequested

public void setAltitudeRequested(boolean altitudeRequested)
This method sets a altitudeRequested.


setType

public void setType(org.csapi.jr.se.mm.LocationType type)
This method sets a type.


setPriority

public void setPriority(org.csapi.jr.se.mm.LocationPriority priority)
This method sets a priority.


setRequestedLocationMethod

public void setRequestedLocationMethod(java.lang.String requestedLocationMethod)
This method sets a requestedLocationMethod.


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