org.csapi.jr.se.mm
Class UserLocationExtended

java.lang.Object
  |
  +--org.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(org.csapi.jr.se.Address _userID, org.csapi.jr.se.mm.MobilityError _statusCode, org.csapi.jr.se.mm.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.
 org.csapi.jr.se.mm.UlExtendedData[] getLocations()
          This method returns a locations.
 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 setLocations(org.csapi.jr.se.mm.UlExtendedData[] locations)
          This method sets a locations.
 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

UserLocationExtended

public UserLocationExtended()
Creates a new UserLocationExtended instance.


UserLocationExtended

public UserLocationExtended(org.csapi.jr.se.Address _userID,
                            org.csapi.jr.se.mm.MobilityError _statusCode,
                            org.csapi.jr.se.mm.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 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

getLocations

public org.csapi.jr.se.mm.UlExtendedData[] getLocations()
This method returns a locations.

Returns:
a org.csapi.jr.se.mm.UlExtendedData[] 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.


setLocations

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

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