if (userValue instanceof String) {
text = (String) userValue;
} else if (userValue instanceof LazyLoadedValue) {
LazyLoadedValue lazyLoadedValue = (LazyLoadedValue) userValue;
try {
text = lazyLoadedValue.loadValue();
} catch (SQLException e) {
MessageUtil.showErrorDialog(e.getMessage(), e);
return null;
}
}