org.zeroexchange.model.message
Class UserMessage

java.lang.Object
  extended by org.zeroexchange.model.Persistent
      extended by org.zeroexchange.model.IntegerPKPersistent
          extended by org.zeroexchange.model.message.Message
              extended by org.zeroexchange.model.message.UserMessage
All Implemented Interfaces:
Serializable, Identifiable<Integer>

@Entity
public class UserMessage
extends Message

The message is sent by the user.

Author:
black
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.zeroexchange.model.message.Message
FIELD_DELIVERY_DATE, FIELD_READDATE, FIELD_RECIPIENT, FIELD_SUBJECT
 
Fields inherited from interface org.zeroexchange.model.Identifiable
FIELD_ID
 
Constructor Summary
UserMessage()
           
 
Method Summary
 User getSender()
           
 void setSender(User sender)
           
 
Methods inherited from class org.zeroexchange.model.message.Message
getDeliveryDate, getMessage, getReadDate, getRecipient, getSubject, setDeliveryDate, setMessage, setReadDate, setRecipient, setSubject
 
Methods inherited from class org.zeroexchange.model.IntegerPKPersistent
equals, getId, hashCode, setId
 
Methods inherited from class org.zeroexchange.model.Persistent
getTransientValues
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UserMessage

public UserMessage()
Method Detail

getSender

public User getSender()
Returns:
the sender

setSender

public void setSender(User sender)
Parameters:
sender - the sender to set


Copyright © 2013. All Rights Reserved.