public class NotificationEntry extends Object implements Serializable, Cloneable
The NotificationCategory
class contains all the entries for the same category title.
| Constructor and Description |
|---|
NotificationEntry() |
| Modifier and Type | Method and Description |
|---|---|
Object |
clone()
Implements deep-copy clone.
|
List<NotificationAttribute> |
getAttributes() |
List<NotificationAction> |
getAvailableActions() |
String |
getBody() |
Date |
getDueDate() |
String |
getId() |
String |
getImage() |
String |
getLinkText() |
int |
getPriority() |
String |
getSource() |
String |
getTitle() |
String |
getUrl() |
void |
setAttributes(List<NotificationAttribute> attributes) |
void |
setAvailableActions(List<NotificationAction> availableActions) |
void |
setBody(String body) |
void |
setDueDate(Date dueDate) |
void |
setId(String id)
Sets the unique identifier for this notification.
|
void |
setImage(String imageUrl) |
void |
setLinkText(String linkText) |
void |
setPriority(int priority) |
void |
setSource(String source) |
void |
setTitle(String title) |
void |
setUrl(String url) |
String |
toString() |
public String getSource()
public void setSource(String source)
public String getId()
public void setId(String id)
UUID.randomUUID() could be a good way to generate them.public String getTitle()
public void setTitle(String title)
public String getUrl()
public void setUrl(String url)
public String getLinkText()
public void setLinkText(String linkText)
public int getPriority()
public void setPriority(int priority)
public Date getDueDate()
public void setDueDate(Date dueDate)
public String getImage()
public void setImage(String imageUrl)
public String getBody()
public void setBody(String body)
public List<NotificationAttribute> getAttributes()
public void setAttributes(List<NotificationAttribute> attributes)
public List<NotificationAction> getAvailableActions()
public void setAvailableActions(List<NotificationAction> availableActions)
public Object clone() throws CloneNotSupportedException
clone in class ObjectCloneNotSupportedException - Not really, but it's on the method
signature we're overriding.Copyright © 2013 Jasig. All Rights Reserved.