Trying to get the related items name to display within a Vaadin Grid.
This will get the name of the main item:
grid.addColumn(thing::getName).setCaption("Name");
This will return the object of the related item:
grid.addColumn(thing::getRelatedThing).setCaption("Related Thing Name");