Package com.aducid.sdk.pojo
Class QueueMessage
java.lang.Object
com.aducid.sdk.pojo.QueueMessage
public class QueueMessage
extends java.lang.Object
Queue message.
Created 8. 10. 2020 10:35:40- Author:
- Radek Jira
-
Constructor Summary
Constructors Constructor Description QueueMessage() -
Method Summary
Modifier and Type Method Description longgetExpiration()Returns expiration.java.lang.StringgetExpirationAsText()Returns expiration as text.java.lang.StringgetSpid()Returns SPID.voidsetExpiration(long expiration)Sets expiration.voidsetSpid(java.lang.String spid)Sets SPID.java.lang.StringtoString()
-
Constructor Details
-
QueueMessage
public QueueMessage()
-
-
Method Details
-
getSpid
public java.lang.String getSpid()Returns SPID.
- Returns:
- SPID
-
setSpid
public void setSpid(java.lang.String spid)Sets SPID.
- Parameters:
spid- SPID
-
getExpiration
public long getExpiration()Returns expiration.
- Returns:
- expiration
-
getExpirationAsText
public java.lang.String getExpirationAsText()Returns expiration as text.
- Returns:
- expiration as text
-
setExpiration
public void setExpiration(long expiration)Sets expiration.
- Parameters:
expiration- expiration
-
toString
public java.lang.String toString()- Overrides:
toStringin classjava.lang.Object
-