|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.kuali.rice.kcb.bo.BaseLockable org.kuali.rice.kcb.bo.MessageDelivery
public class MessageDelivery
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.
Field Summary | |
---|---|
private String |
delivererSystemId
|
private String |
delivererTypeName
|
static String |
DELIVERY_STATUS
|
private String |
deliveryStatus
|
private Long |
id
|
static String |
ID_FIELD
Field names |
private Integer |
lockVerNbr
Lock column for OJB optimistic locking |
private Message |
message
This delivery's message |
static String |
MESSAGEID_FIELD
|
static String |
PROCESS_COUNT
|
private Integer |
processCount
|
static String |
SYSTEMID_FIELD
|
private static Integer |
ZERO
|
Fields inherited from class org.kuali.rice.kcb.bo.BaseLockable |
---|
LOCKED_DATE, lockedDate |
Constructor Summary | |
---|---|
MessageDelivery()
Constructs a MessageDelivery instance. |
|
MessageDelivery(MessageDelivery md)
Shallow-copy constructor |
Method Summary | |
---|---|
String |
getDelivererSystemId()
Gets the delivererSystemId attribute. |
String |
getDelivererTypeName()
Gets the delivererTypeName attribute. |
String |
getDeliveryStatus()
Gets the deliveryStatus attribute. |
Long |
getId()
Gets the id attribute. |
Integer |
getLockVerNbr()
Return value of lock column for OJB optimistic locking |
Message |
getMessage()
|
Integer |
getProcessCount()
|
void |
setDelivererSystemId(String delivererSystemId)
Sets the delivererSystemId attribute value. |
void |
setDelivererTypeName(String delivererTypeName)
Sets the delivererTypeName attribute value. |
void |
setDeliveryStatus(MessageDeliveryStatus deliveryStatus)
Convenience method that sets the delivery status in a typesafe manner. |
void |
setDeliveryStatus(String deliveryStatus)
Sets the deliveryStatus 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 |
setMessage(Message message)
Sets this delivery's message |
void |
setProcessCount(Integer processCount)
Sets the number of times processing has been attempted for this message |
String |
toString()
|
Methods inherited from class org.kuali.rice.kcb.bo.BaseLockable |
---|
getLockedDate, setLockedDate |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
private static final Integer ZERO
public static final String ID_FIELD
public static final String SYSTEMID_FIELD
public static final String MESSAGEID_FIELD
public static final String DELIVERY_STATUS
public static final String PROCESS_COUNT
private Long id
private String delivererTypeName
private String delivererSystemId
private String deliveryStatus
private Integer processCount
private Message message
private Integer lockVerNbr
Constructor Detail |
---|
public MessageDelivery()
public MessageDelivery(MessageDelivery md)
md
- MessageDelivery to (shallow) copyMethod Detail |
---|
public Long getId()
public void setId(Long id)
id
- The id to set.public Integer getLockVerNbr()
public void setLockVerNbr(Integer lockVerNbr)
lockVerNbr
- value of lock column for OJB optimistic lockingpublic String getDeliveryStatus()
public void setDeliveryStatus(MessageDeliveryStatus deliveryStatus)
setDeliveryStatus(String)
deliveryStatus
- the MessageDeliveryStatus enum constantpublic void setDeliveryStatus(String deliveryStatus)
deliveryStatus
- The deliveryStatus to set.public Integer getProcessCount()
public void setProcessCount(Integer processCount)
processCount
- the number of times processing has been attempted for this messagepublic String getDelivererTypeName()
public void setDelivererTypeName(String delivererTypeName)
delivererTypeName
- The delivererTypeName to set.public String getDelivererSystemId()
public void setDelivererSystemId(String delivererSystemId)
delivererSystemId
- The delivererSystemId to set.public Message getMessage()
public void setMessage(Message message)
message
- the message to setpublic String toString()
toString
in class Object
Object.toString()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |