Vaadin8 Grid: Is there any alternative to defining an object to represent e

I have a hierarchy of Grid subclasses without parameterized types. In most cases, I’m filling the concrete subtypes directly from a database call (i.e. not populating an intermediate object).

Do I now have to create an object per row and fill it in order to keep using grid?