public abstract class Message extends PersistentObject
Modifier and Type | Field and Description |
---|---|
protected int |
html |
protected Locale |
locale |
protected Set<Recipient> |
recipients |
static int |
TYPE_NOTIFICATION |
static int |
TYPE_SYSTEM |
Constructor and Description |
---|
Message() |
Modifier and Type | Method and Description |
---|---|
String |
getAuthor() |
int |
getHtml() |
Locale |
getLocale() |
String |
getMessageText() |
Recipient |
getRecipient(String name) |
Set<Recipient> |
getRecipients() |
Date |
getSentDate() |
String |
getSubject() |
int |
getType() |
void |
setAuthor(String auth) |
void |
setHtml(int html) |
void |
setLocale(Locale locale) |
void |
setMessageText(String mess) |
void |
setRecipients(Set<Recipient> recipients) |
void |
setSentDate(Date sentDate) |
void |
setSubject(String subj) |
void |
setType(int type) |
boolean |
wasReadBy(String name) |
equals, getDeleted, getId, getLastModified, hashCode, setDeleted, setId, setLastModified, toString
public static final int TYPE_SYSTEM
public static final int TYPE_NOTIFICATION
protected Locale locale
protected int html
public String getMessageText()
public String getAuthor()
public String getSubject()
public void setMessageText(String mess)
public void setAuthor(String auth)
public void setSubject(String subj)
public Date getSentDate()
public void setSentDate(Date sentDate)
public int getType()
public void setType(int type)
public boolean wasReadBy(String name)
public Locale getLocale()
public void setLocale(Locale locale)
public int getHtml()
public void setHtml(int html)
Copyright © 2008-2014 Logical Objects. All Rights Reserved.