org.objectweb.easybeans.rpc
Class JEJBResponse

java.lang.Object
  extended by org.objectweb.easybeans.rpc.JEJBResponse
All Implemented Interfaces:
java.io.Serializable, EJBResponse

public class JEJBResponse
extends java.lang.Object
implements EJBResponse

Implementation of the EJBResponse interface.

Author:
Florent Benoit
See Also:
Serialized Form

Field Summary
private  java.lang.Long beanId
          Bean id.
private static long serialVersionUID
          Id for serializable class.
private  java.lang.Object value
          Value of the response.
 
Constructor Summary
JEJBResponse()
           
 
Method Summary
 java.lang.Long getBeanId()
           
 java.lang.Object getValue()
          Gets the value.
 void setBeanId(java.lang.Long beanId)
          Sets the bean Id.
 void setValue(java.lang.Object value)
          Sets the value of the response.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

serialVersionUID

private static final long serialVersionUID
Id for serializable class.

See Also:
Constant Field Values

value

private java.lang.Object value
Value of the response.


beanId

private java.lang.Long beanId
Bean id.

Constructor Detail

JEJBResponse

public JEJBResponse()
Method Detail

getValue

public java.lang.Object getValue()
Gets the value.

Specified by:
getValue in interface EJBResponse
Returns:
value of response.

setValue

public void setValue(java.lang.Object value)
Sets the value of the response.

Specified by:
setValue in interface EJBResponse
Parameters:
value - response's value.

getBeanId

public java.lang.Long getBeanId()
Specified by:
getBeanId in interface EJBResponse
Returns:
id of the bean.

setBeanId

public void setBeanId(java.lang.Long beanId)
Sets the bean Id.

Specified by:
setBeanId in interface EJBResponse
Parameters:
beanId - the id of the bean.