|
|||||||||
| 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 |
java.lang.Object |
clone()
|
int |
getDutyScheduleCount()
Returns the number of DutySchedule object for a user |
java.util.List<DutySchedule> |
getDutySchedules()
Returns the full list of DutySchedules |
java.lang.String |
getEmail()
Returns the email address |
java.lang.String |
getNumericalPin()
Returns the numerical pin string |
java.lang.String |
getNumericalService()
Returns the numerical service string |
java.lang.String |
getPagerEmail()
Returns the pager email address |
java.lang.String |
getTextPin()
Returns the text pin string |
java.lang.String |
getTextService()
Returns the text service string |
java.lang.String |
getXMPPAddress()
Returns the XMPP address |
boolean |
isOnDuty(java.util.Calendar aTime)
Returns a boolean indicating if the user is on duty at the specified time. |
void |
setDutySchedule(java.util.List<DutySchedule> someSchedules)
This method sets a full list of duty schedules for a user |
void |
setEmail(java.lang.String anEmail)
Sets the email address |
void |
setNumericalPin(java.lang.String aPin)
Sets the numerical pin |
void |
setNumericalService(java.lang.String aService)
Sets the numerical service string |
void |
setPagerEmail(java.lang.String anEmail)
Sets the pager email address |
void |
setTextPin(java.lang.String aPin)
Sets the text pin string |
void |
setTextService(java.lang.String aService)
Sets the text service string |
void |
setXMPPAddress(java.lang.String anAddress)
Sets the XMPP address |
java.lang.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 java.lang.Object clone()
clone in class java.lang.Objectpublic void setEmail(java.lang.String anEmail)
anEmail - the email addresspublic void setPagerEmail(java.lang.String anEmail)
anEmail - the new email addresspublic void setXMPPAddress(java.lang.String anAddress)
anAddress - the new XMPP addresspublic void setNumericalService(java.lang.String aService)
aService - the numerical servicepublic void setNumericalPin(java.lang.String aPin)
aPin - the numerical pinpublic void setTextService(java.lang.String aService)
aService - the text servicepublic void setTextPin(java.lang.String aPin)
aPin - the text pinpublic void addDutySchedule(DutySchedule aSchedule)
aSchedule - a new duty schedule to associate with a userpublic void setDutySchedule(java.util.List<DutySchedule> someSchedules)
someSchedules - a list of DutySchedule objects for a userpublic java.lang.String getEmail()
public java.lang.String getPagerEmail()
public java.lang.String getXMPPAddress()
public java.lang.String getNumericalService()
public java.lang.String getNumericalPin()
public java.lang.String getTextService()
public java.lang.String getTextPin()
public int getDutyScheduleCount()
public java.util.List<DutySchedule> getDutySchedules()
public boolean isOnDuty(java.util.Calendar aTime)
aTime - a time to see if the user is on duty
public java.lang.String toString()
toString in class java.lang.Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||