public class Notification extends Object
Modifier and Type | Field and Description |
---|---|
protected Date |
date |
protected String |
id |
protected boolean |
isRead |
protected boolean |
isUserMessage |
protected String |
modification |
static String |
NOTIFICATION_COMMAND_APPROVE |
static String |
NOTIFICATION_COMMAND_DELETE |
protected String |
path |
protected String |
user |
Constructor and Description |
---|
Notification(CQClient client,
String id,
String modification,
String path,
Date date,
boolean isRead,
boolean isUserMessage,
String user) |
Notification(org.codehaus.jackson.JsonNode jsonNotification) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
Date |
getDate() |
String |
getId() |
String |
getModification() |
String |
getPath() |
String |
getUser() |
int |
hashCode() |
boolean |
isRead() |
boolean |
isUserMessage() |
void |
setDate(Date date) |
void |
setId(String id) |
void |
setModification(String modification) |
void |
setPath(String path) |
void |
setRead(boolean isRead) |
void |
setUser(String user) |
void |
setUserMessage(boolean isUserMessage) |
public static final String NOTIFICATION_COMMAND_APPROVE
public static final String NOTIFICATION_COMMAND_DELETE
protected String id
protected String modification
protected String path
protected Date date
protected boolean isRead
protected boolean isUserMessage
protected String user
public String getId()
public void setId(String id)
id
- the id to setpublic String getModification()
public void setModification(String modification)
modification
- the modification to setpublic String getPath()
public void setPath(String path)
path
- the path to setpublic Date getDate()
public void setDate(Date date)
date
- the date to setpublic boolean isRead()
public void setRead(boolean isRead)
isRead
- the isRead to setpublic boolean isUserMessage()
public void setUserMessage(boolean isUserMessage)
isUserMessage
- the isUserMessage to setpublic String getUser()
public void setUser(String user)
user
- the user to setCopyright © 2018. All rights reserved.