In case of bidirectional association you have two relationships, each one uses the value of the corresponding AssociationKey#getCollectionOfRole() for the type