org.figure8.join.businessobjects.reporting
Class Message

java.lang.Object
  extended by org.figure8.join.core.EntityObject
      extended by org.figure8.join.businessobjects.reporting.Message
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable

public class Message
extends EntityObject

This is an entity representing a Message. Such messages can be created by administrators or automatically created during workflow transitions.

Version:
$Revision: 1.1 $
Author:
Laurent Broudoux
See Also:
Serialized Form

Constructor Summary
Message()
          Creates a new instance of Message
Message(java.lang.String title, java.lang.String content, java.util.Date publicationDate, java.util.Date expiryDate)
          Creates a new instance of Message with mandatory attributes.
 
Method Summary
 java.lang.String getContent()
           
 java.util.Date getExpiryDate()
           
 java.lang.String getLink()
           
 java.util.Date getPublicationDate()
           
 Release getRelease()
           
 java.lang.String getTitle()
           
 void setContent(java.lang.String content)
           
 void setExpiryDate(java.util.Date expiryDate)
           
 void setLink(java.lang.String link)
           
 void setPublicationDate(java.util.Date publicationDate)
           
 void setRelease(Release release)
           
 void setTitle(java.lang.String title)
           
 
Methods inherited from class org.figure8.join.core.EntityObject
clone, equals, getId, hashCode, isTransient
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Message

public Message()
Creates a new instance of Message


Message

public Message(java.lang.String title,
               java.lang.String content,
               java.util.Date publicationDate,
               java.util.Date expiryDate)
Creates a new instance of Message with mandatory attributes.

Parameters:
title - This message title
content - This message content
publicationDate - The date of publication of this message
expiryDate - The date of publication end for this message
Method Detail

getTitle

public java.lang.String getTitle()
Returns:
This message title

setTitle

public void setTitle(java.lang.String title)
Parameters:
title - This message title

getContent

public java.lang.String getContent()
Returns:
This message content

setContent

public void setContent(java.lang.String content)
Parameters:
content - This message content

getLink

public java.lang.String getLink()
Returns:
A link to reference from message.

setLink

public void setLink(java.lang.String link)
Parameters:
link - The link to reference from message.

getPublicationDate

public java.util.Date getPublicationDate()
Returns:
This message publication date

setPublicationDate

public void setPublicationDate(java.util.Date publicationDate)
Parameters:
publicationDate - This message publication date

getExpiryDate

public java.util.Date getExpiryDate()
Returns:
This message expiry date

setExpiryDate

public void setExpiryDate(java.util.Date expiryDate)
Parameters:
expiryDate - This message expiry date

getRelease

public Release getRelease()
Returns:
The project release this message is dedicated to

setRelease

public void setRelease(Release release)
Parameters:
release - The project release this message is dedicated to


Copyright © 2005-2008 Join. All Rights Reserved.