1 25 26 package org.objectweb.easybeans.rpc; 27 28 import org.objectweb.easybeans.rpc.api.EJBResponse; 29 import org.objectweb.easybeans.rpc.api.RPCException; 30 31 35 public class JEJBResponse implements EJBResponse { 36 37 40 private static final long serialVersionUID = 5854172126038516858L; 41 42 45 private Object value; 46 47 50 private Long beanId = null; 51 52 55 private RPCException rpcException; 56 57 60 private boolean removed = false; 61 62 66 public Object getValue() { 67 return value; 68 } 69 70 74 public void setValue(final Object value) { 75 this.value = value; 76 } 77 78 79 82 public Long getBeanId() { 83 return beanId; 84 } 85 86 90 public void setBeanId(final Long beanId) { 91 this.beanId = beanId; 92 } 93 94 97 public RPCException getRPCException() { 98 return rpcException; 99 } 100 101 102 106 public void setRPCException(final RPCException rpcException) { 107 this.rpcException = rpcException; 108 } 109 110 113 public boolean isRemoved() { 114 return removed; 115 } 116 117 121 public void setRemoved(final boolean removed) { 122 this.removed = removed; 123 } 124 125 } 126 | Popular Tags |