com.alachisoft.ncache.client.MessageItem Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of ncache-professional-client Show documentation
Show all versions of ncache-professional-client Show documentation
NCache Professional client for java.
package com.alachisoft.ncache.client;
import Alachisoft.NCache.Common.BitSet;
import Alachisoft.NCache.Common.Enum.SubscriptionType;
import Alachisoft.NCache.Common.Messaging.SubscriptionIdentifier;
import com.alachisoft.ncache.runtime.caching.DeliveryOption;
import com.alachisoft.ncache.runtime.caching.MessgeFailureReason;
import com.alachisoft.ncache.runtime.util.TimeSpan;
import java.util.ArrayList;
import java.util.Date;
import java.util.HashSet;
public class MessageItem {
private boolean deserialized;
private String messageId;
private Object payload;
private Object serializedJson;
private BitSet flag;
private Date creationTime = new Date(0);
private TimeSpan expirationTime = new TimeSpan();
private DeliveryOption deliveryOption;
private HashSet recipientList;
private MessgeFailureReason messageFailureReason;
private SubscriptionType subscriptionType;
private ArrayList subscriptionIdentifierList;
public boolean getDeserialized() {
return deserialized;
}
public void setDeserialized(boolean value) {
deserialized = value;
}
public String getMessageId() {
return messageId;
}
public void setMessageId(String value) {
messageId = value;
}
public Object getPayload() {
return payload;
}
public void setPayload(Object value) {
payload = value;
}
public BitSet getFlag() {
return flag;
}
public void setFlag(BitSet value) {
flag = value;
}
public Date getCreationTime() {
return creationTime;
}
public void setCreationTime(Date value) {
creationTime = value;
}
public TimeSpan getExpirationTime() {
return expirationTime;
}
public void setExpirationTime(TimeSpan value) {
expirationTime = value;
}
public DeliveryOption getDeliveryOption() {
return deliveryOption;
}
public void setDeliveryOption(DeliveryOption value) {
deliveryOption = value;
}
public HashSet getRecipientList() {
return recipientList;
}
public void setRecipientList(HashSet value) {
recipientList = value;
}
public SubscriptionType getSubscriptionType() {
return subscriptionType;
}
public void setSubscriptionType(SubscriptionType value) {
subscriptionType = value;
}
public MessgeFailureReason getMessageFailureReason() {
return messageFailureReason;
}
public void setMessageFailureReason(MessgeFailureReason value) {
messageFailureReason = value;
}
public ArrayList getSubscriptionIdentifierList() {
return subscriptionIdentifierList;
}
public void setSubscriptionIdentifierList(ArrayList value) {
subscriptionIdentifierList = value;
}
public Object getSerializedJson() {
return serializedJson;
}
public void setSerializedJson(Object value) {
serializedJson = value;
}
}