Class MessageDelivery

java.lang.Object
org.kuali.rice.kcb.bo.BaseLockable
org.kuali.rice.kcb.bo.MessageDelivery
All Implemented Interfaces:
Lockable

@Entity public class MessageDelivery extends BaseLockable
This class represents an instance of a MessageDelivery. A Message gets delivered to recipients, possibly in various ways. For each delivery type that a recipient gets sent to them, they have an instance of this entity.
Author:
Kuali Rice Team (rice.collab@kuali.org)
  • Field Details

  • Constructor Details

    • MessageDelivery

      public MessageDelivery()
      Constructs a MessageDelivery instance.
    • MessageDelivery

      public MessageDelivery(MessageDelivery md)
      Shallow-copy constructor
      Parameters:
      md - MessageDelivery 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.
    • 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
    • getDeliveryStatus

      public String getDeliveryStatus()
      Gets the deliveryStatus attribute.
      Returns:
      Returns the deliveryStatus.
    • setDeliveryStatus

      public void setDeliveryStatus(MessageDeliveryStatus deliveryStatus)
      Convenience method that sets the delivery status in a typesafe manner. This method is preferred to setDeliveryStatus(String)
      Parameters:
      deliveryStatus - the MessageDeliveryStatus enum constant
    • setDeliveryStatus

      public void setDeliveryStatus(String deliveryStatus)
      Sets the deliveryStatus attribute value.
      Parameters:
      deliveryStatus - The deliveryStatus to set.
    • getProcessCount

      public Integer getProcessCount()
      Returns:
      the number of times processing has been attempted for this message
    • setProcessCount

      public void setProcessCount(Integer processCount)
      Sets the number of times processing has been attempted for this message
      Parameters:
      processCount - the number of times processing has been attempted for this message
    • getDelivererTypeName

      public String getDelivererTypeName()
      Gets the delivererTypeName attribute.
      Returns:
      Returns the delivererTypeName.
    • setDelivererTypeName

      public void setDelivererTypeName(String delivererTypeName)
      Sets the delivererTypeName attribute value.
      Parameters:
      delivererTypeName - The delivererTypeName to set.
    • getDelivererSystemId

      public String getDelivererSystemId()
      Gets the delivererSystemId attribute.
      Returns:
      Returns the delivererSystemId.
    • setDelivererSystemId

      public void setDelivererSystemId(String delivererSystemId)
      Sets the delivererSystemId attribute value.
      Parameters:
      delivererSystemId - The delivererSystemId to set.
    • getMessage

      public Message getMessage()
      Returns:
      this delivery's message
    • setMessage

      public void setMessage(Message message)
      Sets this delivery's message
      Parameters:
      message - the message to set
    • toString

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