|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.opennms.web.admin.users.parsers.NotificationInfo
public class NotificationInfo
This class stores notification information for a user
| Constructor Summary | |
|---|---|
NotificationInfo()
Default constructor, initializes the member variables |
|
| Method Summary | |
|---|---|
void |
addDutySchedule(DutySchedule aSchedule)
This method adds a duty schedule |
Object |
clone()
|
int |
getDutyScheduleCount()
Returns the number of DutySchedule object for a user |
List<DutySchedule> |
getDutySchedules()
Returns the full list of DutySchedules |
String |
getEmail()
Returns the email address |
String |
getNumericalPin()
Returns the numerical pin string |
String |
getNumericalService()
Returns the numerical service string |
String |
getPagerEmail()
Returns the pager email address |
String |
getTextPin()
Returns the text pin string |
String |
getTextService()
Returns the text service string |
String |
getXMPPAddress()
Returns the XMPP address |
boolean |
isOnDuty(Calendar aTime)
Returns a boolean indicating if the user is on duty at the specified time. |
void |
setDutySchedule(List<DutySchedule> someSchedules)
This method sets a full list of duty schedules for a user |
void |
setEmail(String anEmail)
Sets the email address |
void |
setNumericalPin(String aPin)
Sets the numerical pin |
void |
setNumericalService(String aService)
Sets the numerical service string |
void |
setPagerEmail(String anEmail)
Sets the pager email address |
void |
setTextPin(String aPin)
Sets the text pin string |
void |
setTextService(String aService)
Sets the text service string |
void |
setXMPPAddress(String anAddress)
Sets the XMPP address |
String |
toString()
A String representation of the notification information, primarily used for debugging. |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public NotificationInfo()
| Method Detail |
|---|
public Object clone()
clone in class Objectpublic void setEmail(String anEmail)
anEmail - the email addresspublic void setPagerEmail(String anEmail)
anEmail - the new email addresspublic void setXMPPAddress(String anAddress)
anAddress - the new XMPP addresspublic void setNumericalService(String aService)
aService - the numerical servicepublic void setNumericalPin(String aPin)
aPin - the numerical pinpublic void setTextService(String aService)
aService - the text servicepublic void setTextPin(String aPin)
aPin - the text pinpublic void addDutySchedule(DutySchedule aSchedule)
aSchedule - a new duty schedule to associate with a userpublic void setDutySchedule(List<DutySchedule> someSchedules)
someSchedules - a list of DutySchedule objects for a userpublic String getEmail()
public String getPagerEmail()
public String getXMPPAddress()
public String getNumericalService()
public String getNumericalPin()
public String getTextService()
public String getTextPin()
public int getDutyScheduleCount()
public List<DutySchedule> getDutySchedules()
public boolean isOnDuty(Calendar aTime)
aTime - a time to see if the user is on duty
public String toString()
toString in class Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||