Class Message

java.lang.Object
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 Details

  • Constructor Details

    • Message

      public Message()
      Normal no-arg constructor
    • Message

      public Message(Message m)
      Shallow-copy constructor
      Parameters:
      m - Message object to (shallow) copy
  • Method Details

    • 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: