public Object convertInbound(Class<?> paramType, InboundVariable data) throws ConversionException { return new RealRawData(data, data.getContext()); }
Object output = convert(argument, parameter.left, data.getContext(), property); arguments.add(output); paramNum++;
data.getContext().addConverted(data, instanceType, bean); data.getContext().addConverted(data, paramType, bean); Object output = convert(entry.getValue(), property.getPropertyType(), data.getContext(), property); property.setValue(bean, output);
InboundContext incx = data.getContext(); data.getContext().addConverted(data, paramType, array); Object output = converterManager.convertInbound(componentType, members[i], data.getContext().getCurrentProperty()); Array.set(array, i, output); data.getContext().addConverted(data, paramType, array); Object output = converterManager.convertInbound(componentType, nested, data.getContext().getCurrentProperty()); Array.set(array, i, output);
log.warn("Expected object while converting data for " + paramType.getName() + " in " + data.getContext().getCurrentProperty() + ". Passed: " + value); throw new ConversionException(paramType, "Data conversion error. See logs for more details."); data.getContext().addConverted(data, instanceType, bean); data.getContext().addConverted(data, paramType, bean); Object output = convert(val, propType, data.getContext(), property); property.setValue(bean, output);
log.warn("Expected collection while converting data for " + paramType.getName() + " in " + data.getContext().getCurrentProperty() + ". Passed: " + value); throw new ConversionException(paramType, "Data conversion error. See logs for more details."); Property parent = data.getContext().getCurrentProperty(); Property child = parent.createChild(0); child = converterManager.checkOverride(child); data.getContext().addConverted(data, paramType, col); String splitValue = split[ConvertUtil.INBOUND_INDEX_VALUE]; InboundVariable nested = new InboundVariable(data.getContext(), null, splitType, splitValue); nested.dereference();
log.warn("Expected object while converting data for " + paramType.getName() + " in " + data.getContext().getCurrentProperty() + ". Passed: " + value); throw new ConversionException(paramType, "Data conversion error. See logs for more details.");
log.warn("Expected object while converting data for " + paramType.getName() + " in " + data.getContext().getCurrentProperty() + ". Passed: " + value); throw new ConversionException(paramType, "Data conversion error. See logs for more details."); Property parent = data.getContext().getCurrentProperty(); data.getContext().addConverted(data, paramType, map); InboundContext incx = data.getContext();
@SuppressWarnings("unchecked") public <T> T convertInbound(Class<T> paramType, InboundVariable data, Property thc) throws ConversionException InboundContext context = data.getContext();