|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectthewebsemantic.binding.RdfBean<Notification>
eu.scape_project.watch.domain.Notification
public class Notification
A Notification describes what should happen when a Trigger is fired.
Each Notification has a type, e.g. Email, Push Notification, etc.
| Constructor Summary | |
|---|---|
Notification()
Create a new empty notification. |
|
Notification(String type,
Collection<Entry> parameters)
Create a new notification. |
|
Notification(String type,
Map<String,String> parameters)
Create a new notification. |
|
| Method Summary | |
|---|---|
boolean |
equals(Object obj)
|
String |
getId()
Get the unique Id of this notification. |
Map<String,String> |
getParameterMap()
|
Collection<Entry> |
getParameters()
|
String |
getType()
|
int |
hashCode()
|
void |
setId(String id)
|
void |
setParameterMap(Map<String,String> parameterMap)
Set the parameters using a Map |
void |
setParameters(Collection<Entry> parameters)
|
void |
setType(String type)
|
String |
toString()
|
| Methods inherited from class thewebsemantic.binding.RdfBean |
|---|
asIndividual, delete, fill, fill, load, query, refresh, save |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public Notification()
public Notification(String type,
Collection<Entry> parameters)
type - The type of the notification.parameters - The notification parameters, e.g. email recipients, subject, etc.
public Notification(String type,
Map<String,String> parameters)
type - The type of the notification.parameters - The notification parameters, e.g. email recipients, subject, etc.| Method Detail |
|---|
public String getId()
public void setId(String id)
public String getType()
public void setType(String type)
public Collection<Entry> getParameters()
public Map<String,String> getParameterMap()
public void setParameters(Collection<Entry> parameters)
public void setParameterMap(Map<String,String> parameterMap)
parameterMap - The map with the parameterspublic int hashCode()
hashCode in class Objectpublic boolean equals(Object obj)
equals in class Objectpublic String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||