1 14 15 package org.apache.activemq.store.kahadaptor; 16 17 import org.apache.activemq.store.ReferenceStore.ReferenceData; 18 19 public class ReferenceRecord{ 20 21 private String messageId; 22 private ReferenceData data; 23 24 public ReferenceRecord(){ 25 } 26 27 public ReferenceRecord(String messageId,ReferenceData data){ 28 this.messageId=messageId; 29 this.data=data; 30 } 31 32 33 36 public ReferenceData getData(){ 37 return this.data; 38 } 39 40 41 44 public void setData(ReferenceData data){ 45 this.data=data; 46 } 47 48 49 52 public String getMessageId(){ 53 return this.messageId; 54 } 55 56 57 60 public void setMessageId(String messageId){ 61 this.messageId=messageId; 62 } 63 64 public String toString() { 65 return "ReferenceRecord(id=" + messageId + ",data=" + data +")"; 66 } 67 } 68 | Popular Tags |