org.csapi.jr.se.mm
Class UserLocationExtended

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

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

Defines the Sequence of Data Elements that specify the identity and location(s) of a user (extended format). In general the data element Locations will contain only one location, but in case of IP-telephony users this data element might continue several locations (the locations of all communication end-points, where the user is currently registered).

See Also:
Serialized Form

Constructor Summary
UserLocationExtended()
          Creates a new UserLocationExtended instance.
UserLocationExtended(Address _userID, MobilityError _statusCode, UlExtendedData[] _locations)
          Creates a new UserLocationExtended instance.
 
Method Summary
 boolean equals(java.lang.Object o)
          Indicates whether some other object is 'equal to' this one.
 UlExtendedData[] getLocations()
          This method returns a locations.
 MobilityError getStatusCode()
          This method returns a statusCode.
 Address getUserID()
          This method returns a userID.
 int hashCode()
          Returns a hashcode value for the object.
 void setLocations(UlExtendedData[] locations)
          This method sets a locations.
 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

UserLocationExtended

public UserLocationExtended()
Creates a new UserLocationExtended instance.


UserLocationExtended

public UserLocationExtended(Address _userID,
                            MobilityError _statusCode,
                            UlExtendedData[] _locations)
Creates a new UserLocationExtended instance.

Parameters:
_userID - The user address.
_statusCode - Indicator of error.
_locations - Optional list of locations. 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

getLocations

public UlExtendedData[] getLocations()
This method returns a locations.

Returns:
a org.csapi.jr.se.mm.UlExtendedData[] value

setUserID

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


setStatusCode

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


setLocations

public void setLocations(UlExtendedData[] locations)
This method sets a locations.


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.