public void setInvitations(java.util.Collection<Invitation> invitations) {
        if (invitations == null) {
            this.invitations = null;
            return;
        }

        this.invitations = new java.util.ArrayList<Invitation>(invitations);
    }
public void setInvitations ( java . util . Collection < Invitation > invitations ) { if ( invitations == null ) { this . invitations = null ; return ; } this . invitations = new java . util . ArrayList < Invitation > ( invitations ) ; }
@param invitations