@Indexed(index="Message") @Entity public class Message extends Object implements DataModel
Constructor and Description |
---|
Message() |
Modifier and Type | Method and Description |
---|---|
Date |
getDateRead() |
Date |
getDateSent() |
Set<Account> |
getDestinationAccounts() |
Set<Group> |
getDestinationGroups() |
String |
getFromEmail() |
long |
getId() |
String |
getMessage() |
MessageStatus |
getStatus() |
String |
getTitle() |
boolean |
isRead() |
void |
setDateRead(Date dateRead) |
void |
setDateSent(Date dateSent) |
void |
setDestinationAccounts(HashSet<Account> destinationAccounts) |
void |
setDestinationGroups(HashSet<Group> destinationGroups) |
void |
setFromEmail(String fromEmail) |
void |
setMessage(String message) |
void |
setRead(boolean read) |
void |
setStatus(MessageStatus status) |
void |
setTitle(String title) |
MessageInfo |
toDataTransferObject() |
public String getFromEmail()
public void setFromEmail(String fromEmail)
public String getMessage()
public void setMessage(String message)
public String getTitle()
public void setTitle(String title)
public Date getDateSent()
public void setDateSent(Date dateSent)
public Date getDateRead()
public void setDateRead(Date dateRead)
public boolean isRead()
public void setRead(boolean read)
public MessageStatus getStatus()
public void setStatus(MessageStatus status)
public MessageInfo toDataTransferObject()
toDataTransferObject
in interface DataModel
Copyright © 2017. All rights reserved.