org.csapi.jr.se.mm
Class UserLocation

java.lang.Object
  |
  +--org.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(org.csapi.jr.se.Address _userID, org.csapi.jr.se.mm.MobilityError _statusCode, org.csapi.jr.se.mm.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.
 org.csapi.jr.se.mm.GeographicalPosition getGeographicalPosition()
          This method returns a geographicalPosition.
 org.csapi.jr.se.mm.MobilityError getStatusCode()
          This method returns a statusCode.
 org.csapi.jr.se.Address getUserID()
          This method returns a userID.
 int hashCode()
          Returns a hashcode value for the object.
 void setGeographicalPosition(org.csapi.jr.se.mm.GeographicalPosition geographicalPosition)
          This method sets a geographicalPosition.
 void setStatusCode(org.csapi.jr.se.mm.MobilityError statusCode)
          This method sets a statusCode.
 void setUserID(org.csapi.jr.se.Address userID)
          This method sets a userID.
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UserLocation

public UserLocation()
Creates a new UserLocation instance.


UserLocation

public UserLocation(org.csapi.jr.se.Address _userID,
                    org.csapi.jr.se.mm.MobilityError _statusCode,
                    org.csapi.jr.se.mm.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 org.csapi.jr.se.Address getUserID()
This method returns a userID.

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

getStatusCode

public org.csapi.jr.se.mm.MobilityError getStatusCode()
This method returns a statusCode.

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

getGeographicalPosition

public org.csapi.jr.se.mm.GeographicalPosition getGeographicalPosition()
This method returns a geographicalPosition.

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

setUserID

public void setUserID(org.csapi.jr.se.Address userID)
This method sets a userID.


setStatusCode

public void setStatusCode(org.csapi.jr.se.mm.MobilityError statusCode)
This method sets a statusCode.


setGeographicalPosition

public void setGeographicalPosition(org.csapi.jr.se.mm.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.

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