org.kuali.rice.kcb.bo
Class Message

java.lang.Object
  extended by org.kuali.rice.kcb.bo.Message

@Entity
public class Message
extends Object

This class represents an abstract message that has been sent to a single user recipient and may result in several MessageDeliverys.

Author:
Kuali Rice Team (rice.collab@kuali.org)

Field Summary
static String ID_FIELD
          Field names
static String ORIGINID_FIELD
           
 
Constructor Summary
Message()
          Normal no-arg constructor
Message(Message m)
          Shallow-copy constructor
 
Method Summary
 String getChannel()
          Gets the channel
 String getContent()
          Gets the content attribute.
 String getContentType()
          Gets the contentType attribute.
 Timestamp getCreationDateTime()
          Returns when this Notification entry was created
 String getDeliveryType()
          Gets the deliveryType attribute.
 Long getId()
          Gets the id attribute.
 Integer getLockVerNbr()
          Return value of lock column for OJB optimistic locking
 String getOriginId()
          Gets the origin id
 String getProducer()
          Gets the producer
 String getRecipient()
          Gets the recipient attribute.
 String getTitle()
          Gets the title
 String getUrl()
           
 void setChannel(String channel)
          Sets the channel
 void setContent(String content)
          Sets the content attribute value.
 void setContentType(String contentType)
          Sets the contentType attribute value.
 void setCreationDateTime(Timestamp created)
          Sets the creation date of this Notification entry
 void setDeliveryType(String deliveryType)
          Sets the deliveryType attribute value.
 void setId(Long id)
          Sets the id attribute value.
 void setLockVerNbr(Integer lockVerNbr)
          Set value of lock column for OJB optimistic locking
 void setOriginId(String originId)
          Sets the origin id
 void setProducer(String producer)
          Sets the producer
 void setRecipient(String recipient)
          Sets the recipient attribute value.
 void setTitle(String title)
          Sets the title
 void setUrl(String url)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

ID_FIELD

public static final String ID_FIELD
Field names

See Also:
Constant Field Values

ORIGINID_FIELD

public static final String ORIGINID_FIELD
See Also:
Constant Field Values
Constructor Detail

Message

public Message()
Normal no-arg constructor


Message

public Message(Message m)
Shallow-copy constructor

Parameters:
m - Message object to (shallow) copy
Method Detail

getId

public Long getId()
Gets the id attribute.

Returns:
Returns the id.

setId

public void setId(Long id)
Sets the id attribute value.

Parameters:
id - The id to set.

getOriginId

public String getOriginId()
Gets the origin id

Returns:
the origin id

setOriginId

public void setOriginId(String originId)
Sets the origin id

Parameters:
originId - the origin id

getCreationDateTime

public Timestamp getCreationDateTime()
Returns when this Notification entry was created

Returns:
when this Notification entry was created

setCreationDateTime

public void setCreationDateTime(Timestamp created)
Sets the creation date of this Notification entry

Parameters:
created - the creation date of this Notification entry

getLockVerNbr

public Integer getLockVerNbr()
Return value of lock column for OJB optimistic locking

Returns:
value of lock column for OJB optimistic locking

setLockVerNbr

public void setLockVerNbr(Integer lockVerNbr)
Set value of lock column for OJB optimistic locking

Parameters:
lockVerNbr - value of lock column for OJB optimistic locking

getRecipient

public String getRecipient()
Gets the recipient attribute.

Returns:
Returns the recipient.

setRecipient

public void setRecipient(String recipient)
Sets the recipient attribute value.

Parameters:
recipients - The recipient to set.

getContent

public String getContent()
Gets the content attribute.

Returns:
Returns the content.

setContent

public void setContent(String content)
Sets the content attribute value.

Parameters:
content - The content to set.

getContentType

public String getContentType()
Gets the contentType attribute.

Returns:
Returns the contentType.

setContentType

public void setContentType(String contentType)
Sets the contentType attribute value.

Parameters:
contentType - The contentType to set.

getUrl

public String getUrl()
Returns:
the url

setUrl

public void setUrl(String url)
Parameters:
url - the url

getDeliveryType

public String getDeliveryType()
Gets the deliveryType attribute.

Returns:
Returns the deliveryType.

setDeliveryType

public void setDeliveryType(String deliveryType)
Sets the deliveryType attribute value.

Parameters:
deliveryType - The deliveryType to set.

getTitle

public String getTitle()
Gets the title

Returns:
the title of this notification

setTitle

public void setTitle(String title)
Sets the title

Parameters:
title - the title of this notification

getChannel

public String getChannel()
Gets the channel

Returns:
the channel

setChannel

public void setChannel(String channel)
Sets the channel

Parameters:
channel - the channel

getProducer

public String getProducer()
Gets the producer

Returns:
the producer

setProducer

public void setProducer(String producer)
Sets the producer

Parameters:
producer - the producer

toString

public String toString()
Overrides:
toString in class Object
See Also:
Object.toString()


Copyright © 2005-2013 The Kuali Foundation. All Rights Reserved.