protected Object convertValue(String value, PropertyDescriptor prop) throws ReflectiveOperationException {
        PropertyEditor editor = getPropertyEditor(prop);
        Object obj = value;
        if (null != editor) {
            editor.setAsText(value);
            obj = editor.getValue();
        }
        return obj;
    }
protected Object convertValue(String value, PropertyDescriptor prop) throws ReflectiveOperationException {
        PropertyEditor editor = getPropertyEditor(prop);
        Object obj = value;
        if (null != editor) {
            editor.setAsText(value);
            obj = editor.getValue();
        }
        return obj;
    }
protected Object convertValue ( String value , PropertyDescriptor prop ) throws ReflectiveOperationException { PropertyEditor editor = getPropertyEditor ( prop ) ; Object obj = value ; if ( null != editor ) { editor . setAsText ( value ) ; obj = editor . getValue ( ) ; } return obj ; }
Convert a string value to its Object value.

@param value - String value
@param prop  - PropertyDescriptor
@return The object set to value (i.e. Integer).  Will return String if no PropertyEditor is found.
@throws ReflectiveOperationException - Thrown on error getting the property editor from the property descriptor.
Convert a string value to its Object value .