|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.kuali.rice.kcb.bo.Message
@Entity public class Message
This class represents an abstract message that has been sent to a single user
recipient and may result in several MessageDelivery
s.
Field Summary | |
---|---|
private String |
channel
|
private String |
content
|
private String |
contentType
|
private Timestamp |
creationDateTime
|
private String |
deliveryType
|
private Long |
id
|
static String |
ID_FIELD
Field names |
private Integer |
lockVerNbr
Lock column for OJB optimistic locking |
private String |
originId
The origin id is an id provided by the originating system that creates the message |
static String |
ORIGINID_FIELD
|
private String |
producer
|
private String |
recipient
|
private String |
title
|
private String |
url
|
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 |
---|
public static final String ID_FIELD
public static final String ORIGINID_FIELD
private Long id
private String originId
private String deliveryType
private String channel
private String producer
private Timestamp creationDateTime
private String title
private String content
private String contentType
private String url
private String recipient
private Integer lockVerNbr
Constructor Detail |
---|
public Message()
public Message(Message m)
m
- Message object to (shallow) copyMethod Detail |
---|
public Long getId()
public void setId(Long id)
id
- The id to set.public String getOriginId()
public void setOriginId(String originId)
originId
- the origin idpublic Timestamp getCreationDateTime()
public void setCreationDateTime(Timestamp created)
created
- the creation date of this Notification entrypublic Integer getLockVerNbr()
public void setLockVerNbr(Integer lockVerNbr)
lockVerNbr
- value of lock column for OJB optimistic lockingpublic String getRecipient()
public void setRecipient(String recipient)
recipients
- The recipient to set.public String getContent()
public void setContent(String content)
content
- The content to set.public String getContentType()
public void setContentType(String contentType)
contentType
- The contentType to set.public String getUrl()
public void setUrl(String url)
url
- the urlpublic String getDeliveryType()
public void setDeliveryType(String deliveryType)
deliveryType
- The deliveryType to set.public String getTitle()
public void setTitle(String title)
title
- the title of this notificationpublic String getChannel()
public void setChannel(String channel)
channel
- the channelpublic String getProducer()
public void setProducer(String producer)
producer
- the producerpublic String toString()
toString
in class Object
Object.toString()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |