120121122123124125126127128129130
copiedArg = arg; DataType<?> dataType = registry.introspectType(arg); if (dataType != null) { DataBinding binding = registry.getDataBinding(dataType.getDataBinding()); if (binding != null) { copiedArg = binding.copy(arg); } } // FIXME: What to do if it's not recognized? } return copiedArg;
529530531532533534535536537538539
if (dataBinding == null) { return data; } return dataBinding.copy(data, sourceDataType, targetDataType, sourceOperation, targetOperation); } /** * Copy an array of data objects passed to an operation * @param data array of objects to copy
513514515516517518519520521522523
} } } if (dataBinding != null) { return dataBinding.copy(data, dataType, operation); } else { return data; } }
119120121122123124125126127128129
copiedArg = arg; dataType = registry.introspectType(arg, operation); if (dataType != null) { DataBinding binding = registry.getDataBinding(dataType.getDataBinding()); if (binding != null) { copiedArg = binding.copy(arg, dataType, operation); } } // FIXME: What to do if it's not recognized? } return copiedArg;
511512513514515516517518519520521
537538539540541542543544545546547
104105106107108109110111112113114
105106107108109110111112113114115
copiedArg = arg; DataType<?> dataType = dataBindings.introspectType(arg); if (dataType != null) { DataBinding binding = dataBindings.getDataBinding(dataType.getDataBinding()); if (binding != null) { copiedArg = binding.copy(arg); } } // FIXME: What to do if it's not recognized? } return copiedArg;