1 package com.rift.coad.daemon.messageservice.db; 2 4 5 6 9 public class MessageRpcBody implements java.io.Serializable { 10 11 13 private String messageId; 14 private String xml; 15 private Integer generatedException; 16 private byte[] resultValue; 17 private byte[] exceptionValue; 18 private Message message; 19 20 22 23 public MessageRpcBody() { 24 } 25 26 27 public MessageRpcBody(String messageId, String xml, Message message) { 28 this.messageId = messageId; 29 this.xml = xml; 30 this.message = message; 31 } 32 33 public MessageRpcBody(String messageId, String xml, Integer generatedException, byte[] resultValue, byte[] exceptionValue, Message message) { 34 this.messageId = messageId; 35 this.xml = xml; 36 this.generatedException = generatedException; 37 this.resultValue = resultValue; 38 this.exceptionValue = exceptionValue; 39 this.message = message; 40 } 41 42 43 public String getMessageId() { 45 return this.messageId; 46 } 47 48 public void setMessageId(String messageId) { 49 this.messageId = messageId; 50 } 51 public String getXml() { 52 return this.xml; 53 } 54 55 public void setXml(String xml) { 56 this.xml = xml; 57 } 58 public Integer getGeneratedException() { 59 return this.generatedException; 60 } 61 62 public void setGeneratedException(Integer generatedException) { 63 this.generatedException = generatedException; 64 } 65 public byte[] getResultValue() { 66 return this.resultValue; 67 } 68 69 public void setResultValue(byte[] resultValue) { 70 this.resultValue = resultValue; 71 } 72 public byte[] getExceptionValue() { 73 return this.exceptionValue; 74 } 75 76 public void setExceptionValue(byte[] exceptionValue) { 77 this.exceptionValue = exceptionValue; 78 } 79 public Message getMessage() { 80 return this.message; 81 } 82 83 public void setMessage(Message message) { 84 this.message = message; 85 } 86 87 88 89 90 } 91 92 93 | Popular Tags |