public void setWrappedObject ( Object obj ) { if ( obj == null ) { throw new IllegalArgumentException ( "Cannot warp a 'null' object." ) ; } this . object = obj ; this . bean = Bean . forClass ( obj . getClass ( ) ) ; }
Changes at any time the wrapped object with a new object .