Package org.cyclos.entities.messaging
Class OutgoingMessage
- java.lang.Object
-
- org.cyclos.entities.SimpleEntity
-
- org.cyclos.entities.NetworkedEntity
-
- org.cyclos.entities.messaging.Message
-
- org.cyclos.entities.messaging.OutgoingMessage
-
- All Implemented Interfaces:
Cloneable,HasNetwork,ProcessableForDataTranslation,DefinesNetwork,IEntity
@Entity public class OutgoingMessage extends Message
-
-
Constructor Summary
Constructors Constructor Description OutgoingMessage()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MessageDestinationgetDestination()MessageNaturegetNature()UsergetSentBy()Set<Group>getToGroups()Set<User>getToUsers()voidsetDestination(MessageDestination destination)voidsetSentBy(User sentBy)voidsetToGroups(Set<Group> toGroups)voidsetToUsers(Set<User> toUsers)-
Methods inherited from class org.cyclos.entities.messaging.Message
getBody, getCategory, getConversationId, getDate, getMessageBox, getMessageOwner, getNetwork, getOwner, getRemovedAt, getSubject, isRead, isRemoved, isReplied, setBody, setCategory, setConversationId, setDate, setMessageOwner, setNetwork, setOwner, setRead, setRemovedAt, setReplied, setSubject
-
Methods inherited from class org.cyclos.entities.NetworkedEntity
isGlobal
-
Methods inherited from class org.cyclos.entities.SimpleEntity
clone, equals, getId, hashCode, id, ids, isPersistent, isTransient, setId, toShortString, toString, uniqueIds, uniqueIds
-
-
-
-
Method Detail
-
getDestination
public MessageDestination getDestination()
-
getNature
public MessageNature getNature()
-
getSentBy
public User getSentBy()
-
setDestination
public void setDestination(MessageDestination destination)
-
setSentBy
public void setSentBy(User sentBy)
-
-