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.


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
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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