org.csapi.jr.se.mm
Class UserLocation

java.lang.Object
  extended byorg.csapi.jr.se.mm.UserLocation
All Implemented Interfaces:
java.io.Serializable

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

Defines the Sequence of Data Elements that specify the identity and location of a user (basic format).

See Also:
Serialized Form

Constructor Summary
UserLocation()
          Creates a new UserLocation instance.
UserLocation(Address _userID, MobilityError _statusCode, GeographicalPosition _geographicalPosition)
          Creates a new UserLocation instance.
 
Method Summary
 boolean equals(java.lang.Object o)
          Indicates whether some other object is 'equal to' this one.
 GeographicalPosition getGeographicalPosition()
          This method returns a geographicalPosition.
 MobilityError getStatusCode()
          This method returns a statusCode.
 Address getUserID()
          This method returns a userID.
 int hashCode()
          Returns a hashcode value for the object.
 void setGeographicalPosition(GeographicalPosition geographicalPosition)
          This method sets a geographicalPosition.
 void setStatusCode(MobilityError statusCode)
          This method sets a statusCode.
 void setUserID(Address userID)
          This method sets a userID.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UserLocation

public UserLocation()
Creates a new UserLocation instance.


UserLocation

public UserLocation(Address _userID,
                    MobilityError _statusCode,
                    GeographicalPosition _geographicalPosition)
Creates a new UserLocation instance.

Parameters:
_userID - The address of the user.
_statusCode - Indicator of error.
_geographicalPosition - Specification of a position and an area of uncertainty. If StatusCode is indicating an error, this value is undefined.
Method Detail

getUserID

public Address getUserID()
This method returns a userID.

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

getStatusCode

public MobilityError getStatusCode()
This method returns a statusCode.

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

getGeographicalPosition

public GeographicalPosition getGeographicalPosition()
This method returns a geographicalPosition.

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

setUserID

public void setUserID(Address userID)
This method sets a userID.


setStatusCode

public void setStatusCode(MobilityError statusCode)
This method sets a statusCode.


setGeographicalPosition

public void setGeographicalPosition(GeographicalPosition geographicalPosition)
This method sets a geographicalPosition.


equals

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


hashCode

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