Viritin - MultiSelectTable - jpa-addressbook-master

Hi,

I try to edit JPA n:m relations with MultiSelectTable.
Basically, I want to list all possible values in MultiSelectTable and select values for storage.

I have studied the jpa-address-book-master example.
There, similar functionality is demonstrated to store groups a person is belonging to.

In the example a MultiSelectTable is created as follows (in PhoneBookEntryForm):

MultiSelectTable groups = new MultiSelectTable(“Groups”)
.withProperties(“name”).withColumnHeaderMode(Table.ColumnHeaderMode.HIDDEN);

It is not clear to me to what “name” refers to.
Is this the name of the group in the JPA class PhoneBookGroup?
If so, how is specificied that this is indeed referring to the PhoneBookGroup, as the form in the example is for a PhoneBookEntry.

Thanks.

JG