/** * Sets the value of the field to a default value. * * @param target The object to reset * @throws IllegalStateException if the Java object has changed and is no longer supported by this * handler or the handler is not compatible with the Java object */ public void resetValue(final Object target) throws java.lang.IllegalStateException { _handler.resetValue(target); }
/** * Sets the value of the field to a default value. * * @param target The object * @throws IllegalStateException The Java object has changed and is no longer supported by this * handler, or the handler is not compatiable with the Java object */ public void resetValue(final Object target) throws java.lang.IllegalStateException { _handler.resetValue(target); }
/** * Sets the value of the field to a default value. * * @param target The object * @throws IllegalStateException The Java object has changed and is no * longer supported by this handler, or the handler is not * compatiable with the Java object */ public void resetValue(final Object target) throws java.lang.IllegalStateException { _handler.resetValue(target); }
/** * Sets the value of the field to a default value. * <p> * Reference fields are set to null, primitive fields are set to their default value, collection * fields are emptied of all elements. * * @param object The object * @throws IllegalStateException The Java object has changed and is no longer supported by this * handler, or the handler is not compatiable with the Java object */ public void resetValue(final Object object) throws IllegalStateException { _handler.resetValue(object); }
/** * Sets the value of the field to a default value. * * @param target The object to reset * @throws IllegalStateException if the Java object has changed and is no * longer supported by this handler or the handler is not * compatible with the Java object */ public void resetValue(final Object target) throws java.lang.IllegalStateException { _handler.resetValue(target); }
/** * Sets the value of the field to a default value. * <p> * Reference fields are set to null, primitive fields are set to their * default value, collection fields are emptied of all elements. * * @param object The object * @throws IllegalStateException The Java object has changed and is no * longer supported by this handler, or the handler is not * compatiable with the Java object */ public void resetValue(final Object object) throws IllegalStateException { _handler.resetValue(object); }
/** * Sets the value of the field to a default value. * <p> * Reference fields are set to null, primitive fields are set to their default value, collection * fields are emptied of all elements. * * @param object The object * @throws IllegalStateException The Java object has changed and is no longer supported by this * handler, or the handler is not compatiable with the Java object */ public final void resetValue(Object object) throws IllegalStateException, IllegalArgumentException { if (_handler == null) { throw new IllegalStateException(NULL_HANDLER_ERR); } _handler.resetValue(object); }
/** * Sets the value of the field to a default value. * <p> * Reference fields are set to null, primitive fields are set to * their default value, collection fields are emptied of all * elements. * * @param object The object * @throws IllegalStateException The Java object has changed and * is no longer supported by this handler, or the handler is not * compatiable with the Java object */ public final void resetValue( Object object ) throws IllegalStateException, IllegalArgumentException { if (_handler == null) { throw new IllegalStateException(NULL_HANDLER_ERR); } _handler.resetValue(object); }
_handler.resetValue(object); else if (_field != null) _field.set(object, _default); _handler.resetValue(object); } else if (_field != null) { collect = _field.get(object);
_handler.resetValue( object ); else if ( _field != null ) _field.set( object, _default ); _handler.resetValue( object ); } else if ( _field != null ) { collect = _field.get( object );
handler.resetValue(state.object);
handler.resetValue(state.getObject());