com.egurkha.subscribermanagement
Class EgurkhaUser

java.lang.Object
  |
  +--com.egurkha.subscribermanagement.EgurkhaUser

public class EgurkhaUser
extends Object


Field Summary
 Date d_user_reg_date
           
 Date d_user_valid_till
           
 String s_user_alarm_mode
           
 String s_user_alarm_pref
           
 String s_user_alarm_type
           
 String s_user_id
           
 String s_user_mailid
           
 String s_user_pass
           
 
Constructor Summary
EgurkhaUser(String str_user_name)
          Allocates a new EgurkhaUser object.The user-name attribute of the EgurkhaUser is set.
EgurkhaUser(String str_user_name, Date dd_user_valid_till)
          Allocates a new EgurkhaUser object.The attributes user-name and user-subscription-validity period of the EgurkhaUser are set.
EgurkhaUser(String str_user_id, String str_user_pass, Date dd_user_valid_till)
          Allocates a new EgurkhaUser object.The attributes user-name,user- password and user-subscription-validity period of the EgurkhaUser are set.
EgurkhaUser(String str_user_id, String str_user_pass, String str_user_mailid, String str_user_alarm_type, String str_user_alarm_pref, String str_user_alarm_mode, Date dd_user_valid_till)
          Allocates a new EgurkhaUser object.The attributes user-name,user- password,user-mailid,user-alarm-type,user-alarm-preference, user-alarm-mode and user-subscription-validity period of the EgurkhaUser are set.
 
Method Summary
 String getUserAlarmMode()
          Returns user-alarm-mode attribute of the EgurkhaUser.
 String getUserAlarmPref()
          Returns user-alarm-preference attribute of the EgurkhaUser.
 String getUserAlarmType()
          Returns user-alarm-type attribute of the EgurkhaUser.
 String getUserMailId()
          Returns user-mailid of the EgurkhaUser.
 Date getUserRegDate()
          Returns user-registration-date attribute of the EgurkhaUser.
 Date getUserValidTill()
          Returns user-subscription-validity period attribute of the EgurkhaUser.
 void setUserAlarmMode(String str_user_alarm_mode)
          Sets the user-alarm-mode attribute of the EgurkhaUser.
 void setUserAlarmPref(String str_user_alarm_pref)
          Sets the user-alarm-preference attribute of the EgurkhaUser.
 void setUserAlarmType(String str_user_alarm_type)
          Sets the user-alarm-type attribute of the EgurkhaUser.
 void setUserMailId(String str_user_mailid)
          Sets the user-mailid attribute of the EgurkhaUser.
 void setUserPass(String str_user_pass)
          Sets the user-password attribute of the EgurkhaUser.
 void setUserRegDate(Date dd_user_reg_date)
          Sets user-registration-date attribute of the EgurkhaUser It takes java.util.Date object as parameter.
 void setUserValidTill(Date dd_user_valid_till)
          Sets user-subscription-validity period attribute of the EgurkhaUser It takes java.util.Date object as parameter.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

s_user_id

public String s_user_id

s_user_pass

public String s_user_pass

s_user_mailid

public String s_user_mailid

s_user_alarm_type

public String s_user_alarm_type

s_user_alarm_pref

public String s_user_alarm_pref

s_user_alarm_mode

public String s_user_alarm_mode

d_user_valid_till

public Date d_user_valid_till

d_user_reg_date

public Date d_user_reg_date
Constructor Detail

EgurkhaUser

public EgurkhaUser(String str_user_name)
Allocates a new EgurkhaUser object.The user-name attribute of the EgurkhaUser is set.

EgurkhaUser

public EgurkhaUser(String str_user_name,
                   Date dd_user_valid_till)
Allocates a new EgurkhaUser object.The attributes user-name and user-subscription-validity period of the EgurkhaUser are set.

EgurkhaUser

public EgurkhaUser(String str_user_id,
                   String str_user_pass,
                   Date dd_user_valid_till)
Allocates a new EgurkhaUser object.The attributes user-name,user- password and user-subscription-validity period of the EgurkhaUser are set.

EgurkhaUser

public EgurkhaUser(String str_user_id,
                   String str_user_pass,
                   String str_user_mailid,
                   String str_user_alarm_type,
                   String str_user_alarm_pref,
                   String str_user_alarm_mode,
                   Date dd_user_valid_till)
Allocates a new EgurkhaUser object.The attributes user-name,user- password,user-mailid,user-alarm-type,user-alarm-preference, user-alarm-mode and user-subscription-validity period of the EgurkhaUser are set.
Method Detail

setUserPass

public void setUserPass(String str_user_pass)
Sets the user-password attribute of the EgurkhaUser.

setUserMailId

public void setUserMailId(String str_user_mailid)
Sets the user-mailid attribute of the EgurkhaUser.

setUserAlarmType

public void setUserAlarmType(String str_user_alarm_type)
Sets the user-alarm-type attribute of the EgurkhaUser. The possible values - H(High), I(Intermediate), L(Low). Also combinations of the alarm types like HI, IL, HL, HIL can be given.

setUserAlarmPref

public void setUserAlarmPref(String str_user_alarm_pref)
Sets the user-alarm-preference attribute of the EgurkhaUser. The possible values - C(Complete) or N(New).

setUserAlarmMode

public void setUserAlarmMode(String str_user_alarm_mode)
Sets the user-alarm-mode attribute of the EgurkhaUser. The possible values - T(Text format) or H(HTML format).

setUserValidTill

public void setUserValidTill(Date dd_user_valid_till)
Sets user-subscription-validity period attribute of the EgurkhaUser It takes java.util.Date object as parameter.

setUserRegDate

public void setUserRegDate(Date dd_user_reg_date)
Sets user-registration-date attribute of the EgurkhaUser It takes java.util.Date object as parameter.

getUserMailId

public String getUserMailId()
Returns user-mailid of the EgurkhaUser. The possible results - String - if the user has a mail id. null - if the user doesn't have a mail id or if the user is not present in the eGurkha system.

getUserAlarmType

public String getUserAlarmType()
Returns user-alarm-type attribute of the EgurkhaUser. The possible results - String - if the user has his alarm type set. null - if the user doesn't have his alarm type set or if the user is not present in the eGurkha system.

getUserAlarmPref

public String getUserAlarmPref()
Returns user-alarm-preference attribute of the EgurkhaUser. The possible results - String - if the user has his alarm preference set. null - if the user doesn't have his alarm preference set or if the user is not present in the eGurkha system.

getUserAlarmMode

public String getUserAlarmMode()
Returns user-alarm-mode attribute of the EgurkhaUser. The possible results - String - if the user has his alarm mode set. null - if the user doesn't have his alarm mode set or if the user is not present in the eGurkha system.

getUserValidTill

public Date getUserValidTill()
Returns user-subscription-validity period attribute of the EgurkhaUser. The possible results - java.util.Date null - if the user is not present in the eGurkha system.

getUserRegDate

public Date getUserRegDate()
Returns user-registration-date attribute of the EgurkhaUser. The possible results - java.util.Date null - if the user is not present in the eGurkha system.