org.jtheque.core.managers.message
Class Message

java.lang.Object
  extended by org.jtheque.core.managers.message.Message
All Implemented Interfaces:
java.lang.Comparable<Message>

public final class Message
extends java.lang.Object
implements java.lang.Comparable<Message>

Author:
Baptiste Wicht

Constructor Summary
Message()
           
 
Method Summary
 int compareTo(Message o)
           
 boolean equals(java.lang.Object o)
           
 org.jtheque.utils.bean.IntDate getDate()
          Return the date of the message.
 int getId()
          Return the Id of the message.
 java.lang.String getMessage()
          Return the text of the message.
 java.lang.String getSource()
          Return the source of the message.
 java.lang.String getTitle()
          Return the title of the message.
 int hashCode()
           
 void setDate(org.jtheque.utils.bean.IntDate date)
          Set the date of the message.
 void setId(int id)
          Set the Id of the message.
 void setMessage(java.lang.String message)
          Set the text of the message.
 void setSource(java.lang.String source)
          Set the source of the message.
 void setTitle(java.lang.String title)
          Set the title of the message.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Message

public Message()
Method Detail

getId

public int getId()
Return the Id of the message.

Returns:
The id of the message.

setId

public void setId(int id)
Set the Id of the message.

Parameters:
id - The Id of the message.

getTitle

public java.lang.String getTitle()
Return the title of the message.

Returns:
The title of the message.

setTitle

public void setTitle(java.lang.String title)
Set the title of the message.

Parameters:
title - The title of the message.

getMessage

public java.lang.String getMessage()
Return the text of the message.

Returns:
The text of the message.

setMessage

public void setMessage(java.lang.String message)
Set the text of the message.

Parameters:
message - The text of the message.

getDate

public org.jtheque.utils.bean.IntDate getDate()
Return the date of the message.

Returns:
The date of the message.

setDate

public void setDate(org.jtheque.utils.bean.IntDate date)
Set the date of the message.

Parameters:
date - The date of the message.

getSource

public java.lang.String getSource()
Return the source of the message.

Returns:
The source of the message.

setSource

public void setSource(java.lang.String source)
Set the source of the message.

Parameters:
source - The source of the message.

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

equals

public boolean equals(java.lang.Object o)
Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

compareTo

public int compareTo(Message o)
Specified by:
compareTo in interface java.lang.Comparable<Message>


Copyright © 2009 JTheque. All Rights Reserved.