setShowTitle(true);
setPageSize(5);
this.relatedDtoClass = relatedDto;
this.provider = new RelationshipListViewDataProvider(moduleDto.getModule(), relatedDtoClass, readService);
/*
* only add the create button if this relationship has is represented by a single id field e.g. no create button should be displayed in the contact <-> contact relationship because there are three different fields in each contact referencing other contacts. just clicking the create button it is not clear which of the fields should be pre-filled.
*/
if (hasRelationshipUniqueFieldName()) {