org.jete.model
Class ResultWrapper

java.lang.Object
  extended byorg.jete.model.ResultWrapper

public class ResultWrapper
extends java.lang.Object

Wrap object information in this wrapper, allowing for primitives, lists, etc.

The main reason for this is that invoked methods may return primitives that don't have "getter" functionality. Spring relies on an underlying PropertyDescriptor to retrieve this information, by supplying a simple wrapper object like this, we can use the PropertyValue object to interact with primitives, arrays, etc. in a straightforward and standard manner.

Version:
$Id: ResultWrapper.html,v 1.3 2006/03/12 02:46:59 tdeast Exp $

Constructor Summary
ResultWrapper(java.lang.Object data)
           
 
Method Summary
 java.lang.Object getValue()
           
 void setValue(java.lang.Object value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ResultWrapper

public ResultWrapper(java.lang.Object data)
Method Detail

getValue

public java.lang.Object getValue()

setValue

public void setValue(java.lang.Object value)