org.csapi.jr.se.mm
Class UserStatus

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

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

Defines the Sequence of Data Elements that specify the identity and status of a user.

See Also:
Serialized Form

Constructor Summary
UserStatus()
          Creates a new UserStatus instance.
UserStatus(Address _userID, MobilityError _statusCode, UserStatusIndicator _status, TerminalType _terminalType)
          Creates a new UserStatus instance.
 
Method Summary
 boolean equals(java.lang.Object o)
          Indicates whether some other object is 'equal to' this one.
 UserStatusIndicator getStatus()
          This method returns a status.
 MobilityError getStatusCode()
          This method returns a statusCode.
 TerminalType getTerminalType()
          This method returns a terminalType.
 Address getUserID()
          This method returns a userID.
 int hashCode()
          Returns a hashcode value for the object.
 void setStatus(UserStatusIndicator status)
          This method sets a status.
 void setStatusCode(MobilityError statusCode)
          This method sets a statusCode.
 void setTerminalType(TerminalType terminalType)
          This method sets a terminalType.
 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

UserStatus

public UserStatus()
Creates a new UserStatus instance.


UserStatus

public UserStatus(Address _userID,
                  MobilityError _statusCode,
                  UserStatusIndicator _status,
                  TerminalType _terminalType)
Creates a new UserStatus instance.

Parameters:
_userID - The user address.
_statusCode - Indicator of error.
_status - The current status of the user.
_terminalType - The kind of terminal used by the user.
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

getStatus

public UserStatusIndicator getStatus()
This method returns a status.

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

getTerminalType

public TerminalType getTerminalType()
This method returns a terminalType.

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

setUserID

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


setStatusCode

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


setStatus

public void setStatus(UserStatusIndicator status)
This method sets a status.


setTerminalType

public void setTerminalType(TerminalType terminalType)
This method sets a terminalType.


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.