org.apache.hupa.shared.data
Class MessageDetails

java.lang.Object
  extended by org.apache.hupa.shared.data.MessageDetails
All Implemented Interfaces:
Serializable

public class MessageDetails
extends Object
implements Serializable

See Also:
Serialized Form

Constructor Summary
MessageDetails()
           
 
Method Summary
 boolean equals(Object obj)
           
 ArrayList<MessageAttachment> getMessageAttachments()
          Return the attachments
 String getRawHeader()
          Return a raw String representation of the header
 String getText()
          Return the body text of the content
 long getUid()
           
 int hashCode()
           
 void setMessageAttachments(ArrayList<MessageAttachment> aList)
          Set the attachments
 void setRawHeader(String raw)
          Set a raw String representation of the header
 void setText(String text)
          Set the body text of the content
 void setUid(long uid)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MessageDetails

public MessageDetails()
Method Detail

toString

public String toString()
Overrides:
toString in class Object

getUid

public long getUid()

setUid

public void setUid(long uid)

setRawHeader

public void setRawHeader(String raw)
Set a raw String representation of the header

Parameters:
raw -

getRawHeader

public String getRawHeader()
Return a raw String representation of the header

Returns:
raw

setText

public void setText(String text)
Set the body text of the content

Parameters:
text -

getText

public String getText()
Return the body text of the content

Returns:
The text

setMessageAttachments

public void setMessageAttachments(ArrayList<MessageAttachment> aList)
Set the attachments

Parameters:
aList -

getMessageAttachments

public ArrayList<MessageAttachment> getMessageAttachments()
Return the attachments

Returns:
aList

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object


Copyright © 2009-2012 The Apache Software Foundation. All Rights Reserved.