class LabelValueAspectDefinition extends ModelToUiAspectDefinition<Object> {

    @Override
    public Consumer<Object> createComponentValueSetter(ComponentWrapper componentWrapper) {
        return v -> ((Label)componentWrapper.getComponent())
                .setValue(LabelValueAspectDefinition.toString(v));
    }

}