class ApplicationTeamViewModel implements BaseAnalyticsViewModel {

    public String getKtaName() {
        if (ktaProcessRole != null) {
            return ktaProcessRole.getUserName();
        }
        if (ktaInvite != null) {
            return ktaInvite.getName();
        }
        return null;
    }

    public  ApplicationTeamViewModel(long applicationId,
                                    String applicationName,
                                    String competitionName,
                                    long questionId,
                                    List<ApplicationTeamOrganisationViewModel> organisations,
                                    long loggedInUserId,
                                    boolean leadApplicant,
                                    boolean collaborationLevelSingle,
                                    boolean open,
                                    boolean complete,
                                    boolean ktpCompetition,
                                    ApplicationKtaInviteResource ktaInvite,
                                    ProcessRoleResource ktaProcessRole
                                    );

}