protected ViewObject getViewObject() {
if (controlBinding == null || controlBinding.isEmpty()) {
throw new IllegalStateException("LovBean needs the Managed Property ControlBinding");
}
final BindingContainer bindings = BindingContext.getCurrent().getCurrentBindingsEntry();
final DCControlBinding binding = (DCControlBinding) bindings.getControlBinding(controlBinding);
if (binding == null) {
throw new IllegalStateException("binding \"" + controlBinding + "\" not found");
}
return binding.getViewObject();
}