setItemCaption replacement in vaadin 8

is there a replacement for vaadin 8?

i want build generic form with comboBox which related List of data for comboBox.

so i need something like

<name="" value="">caption

there are any solution for my problem?

Thank for your respon.

if i have a class

public class Language{
   String id;
   String name;

how i can bind id value if my combobox like


i should show name, and setId in my combobox also my combobox is generic.

i think setItemCaptionGenerator is good because this method very flexible.

In Vaadin8 ComboBox the method you need setItemCaptionGenerator.