|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectsystemic.sif.sifcommon.model.BaseMessage
public class BaseMessage
This class is primarily used as a base class for any messages that ought to be used in a SubscriberQueue. It has properties that might be needed if persistence is implemented in the SubscriberQueue.
SubscriberQueue
,
Serialized FormConstructor Summary | |
---|---|
BaseMessage()
This constructor will create this object with the creation date set to now. |
|
BaseMessage(boolean autoGenerate)
This constructor will create this object with a generated GUID if autoGenerate=TRUE otherwise no GUID is assigned at this point. |
|
BaseMessage(java.lang.String messageGUID)
This constructor will create this object with the given messageGUID. |
Method Summary | |
---|---|
java.util.Date |
getCreationDate()
|
java.lang.String |
getMessageGUID()
|
int |
getNumRetries()
|
void |
setCreationDate(java.util.Date creationDate)
|
void |
setMessageGUID(java.lang.String messageGUID)
|
void |
setNumRetries(int numRetries)
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public BaseMessage()
public BaseMessage(boolean autoGenerate)
autoGenerate
- TRUE=>A GUID will be assigned to the object.public BaseMessage(java.lang.String messageGUID)
messageGUID
- Sets the messageGUID of this object to that value.Method Detail |
---|
public java.lang.String getMessageGUID()
public void setMessageGUID(java.lang.String messageGUID)
public java.util.Date getCreationDate()
public void setCreationDate(java.util.Date creationDate)
public int getNumRetries()
public void setNumRetries(int numRetries)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |