class CaptionAspectDefinition extends ModelToUiAspectDefinition<String> {

    @Override
    public Consumer<String> createComponentValueSetter(ComponentWrapper componentWrapper) {
        return caption -> ((Component)componentWrapper.getComponent()).setCaption(caption);
    }

    public  CaptionAspectDefinition(CaptionType captionType, String staticCaption);

}