Package org.kuali.rice.kcb.bo
Class Message
java.lang.Object
org.kuali.rice.kcb.bo.Message
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
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the channelGets the content attribute.Gets the contentType attribute.Returns when this Notification entry was createdGets the deliveryType attribute.getId()Gets the id attribute.Return value of lock column for OJB optimistic lockingGets the origin idGets the producerGets the recipient attribute.getTitle()Gets the titlegetUrl()voidsetChannel(String channel) Sets the channelvoidsetContent(String content) Sets the content attribute value.voidsetContentType(String contentType) Sets the contentType attribute value.voidsetCreationDateTime(Timestamp created) Sets the creation date of this Notification entryvoidsetDeliveryType(String deliveryType) Sets the deliveryType attribute value.voidSets the id attribute value.voidsetLockVerNbr(Integer lockVerNbr) Set value of lock column for OJB optimistic lockingvoidsetOriginId(String originId) Sets the origin idvoidsetProducer(String producer) Sets the producervoidsetRecipient(String recipient) Sets the recipient attribute value.voidSets the titlevoidtoString()
-
Field Details
-
ID_FIELD
Field names- See Also:
-
ORIGINID_FIELD
- See Also:
-
-
Constructor Details
-
Message
public Message()Normal no-arg constructor -
Message
Shallow-copy constructor- Parameters:
m- Message object to (shallow) copy
-
-
Method Details
-
getId
Gets the id attribute.- Returns:
- Returns the id.
-
setId
Sets the id attribute value.- Parameters:
id- The id to set.
-
getOriginId
Gets the origin id- Returns:
- the origin id
-
setOriginId
Sets the origin id- Parameters:
originId- the origin id
-
getCreationDateTime
Returns when this Notification entry was created- Returns:
- when this Notification entry was created
-
setCreationDateTime
Sets the creation date of this Notification entry- Parameters:
created- the creation date of this Notification entry
-
getLockVerNbr
Return value of lock column for OJB optimistic locking- Returns:
- value of lock column for OJB optimistic locking
-
setLockVerNbr
Set value of lock column for OJB optimistic locking- Parameters:
lockVerNbr- value of lock column for OJB optimistic locking
-
getRecipient
Gets the recipient attribute.- Returns:
- Returns the recipient.
-
setRecipient
Sets the recipient attribute value.- Parameters:
recipients- The recipient to set.
-
getContent
Gets the content attribute.- Returns:
- Returns the content.
-
setContent
Sets the content attribute value.- Parameters:
content- The content to set.
-
getContentType
Gets the contentType attribute.- Returns:
- Returns the contentType.
-
setContentType
Sets the contentType attribute value.- Parameters:
contentType- The contentType to set.
-
getUrl
- Returns:
- the url
-
setUrl
- Parameters:
url- the url
-
getDeliveryType
Gets the deliveryType attribute.- Returns:
- Returns the deliveryType.
-
setDeliveryType
Sets the deliveryType attribute value.- Parameters:
deliveryType- The deliveryType to set.
-
getTitle
Gets the title- Returns:
- the title of this notification
-
setTitle
Sets the title- Parameters:
title- the title of this notification
-
getChannel
Gets the channel- Returns:
- the channel
-
setChannel
Sets the channel- Parameters:
channel- the channel
-
getProducer
Gets the producer- Returns:
- the producer
-
setProducer
Sets the producer- Parameters:
producer- the producer
-
toString
-