cnrg.itx.ds
Class UserProperty

java.lang.Object
  |
  +--cnrg.itx.ds.UserProperty

public class UserProperty
extends java.lang.Object

This class stores information on userID, extension, roaming location (if any), and custom message.


Field Summary
private  java.lang.String m_customMsg
           
private  int m_ext
           
private  Location m_roamLoc
           
private  UserID m_userID
           
 
Constructor Summary
UserProperty(UserID id, int extension, Location roamLoc, java.lang.String customMsg)
          Constructor
 
Method Summary
 java.lang.String getCustomMessage()
          Gets custom message
 int getExtension()
          Gets extension field
 Location getRoamingLocation()
          Gets roaming location object (if any)
 UserID getUserID()
          Gets userID field
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait
 

Field Detail

m_userID

private UserID m_userID

m_ext

private int m_ext

m_roamLoc

private Location m_roamLoc

m_customMsg

private java.lang.String m_customMsg
Constructor Detail

UserProperty

public UserProperty(UserID id,
                    int extension,
                    Location roamLoc,
                    java.lang.String customMsg)
Constructor
Parameters:
id - - UserID object
extension - - integer value of the extension number
roamLoc - - roaming location
customMsg - - custom message
Method Detail

getUserID

public UserID getUserID()
Gets userID field
Returns:
a UserID object

getExtension

public int getExtension()
Gets extension field
Returns:
an int to represent an extension

getRoamingLocation

public Location getRoamingLocation()
Gets roaming location object (if any)
Returns:
a roaming location object

getCustomMessage

public java.lang.String getCustomMessage()
Gets custom message
Returns:
a string object