private boolean isProjectPageEmpty(Eml eml){
  if (eml.getProject() != null) {
    Project project=eml.getProject();
    List<Agent> personnelList=project.getPersonnel();
    StudyAreaDescription area=project.getStudyAreaDescription();
    String title=project.getTitle();
    String funding=project.getFunding();
    String design=project.getDesignDescription();
    String desc=area.getDescriptorValue();
    return (Strings.isNullOrEmpty(title) && Strings.isNullOrEmpty(funding) && Strings.isNullOrEmpty(design)&& Strings.isNullOrEmpty(desc)&& isAgentsListEmpty(personnelList));
  }
  return false;
}

private boolean isProjectPageEmpty ( Eml eml ) { if ( eml . getProject ( ) != null ) { Project project = eml . getProject ( ) ; List < Agent > personnelList = project . getPersonnel ( ) ; StudyAreaDescription area = project . getStudyAreaDescription ( ) ; String title = project . getTitle ( ) ; String funding = project . getFunding ( ) ; String design = project . getDesignDescription ( ) ; String desc = area . getDescriptorValue ( ) ; return ( Strings . isNullOrEmpty ( title ) && Strings . isNullOrEmpty ( funding ) && Strings . isNullOrEmpty ( design ) && Strings . isNullOrEmpty ( desc ) && isAgentsListEmpty ( personnelList ) ) ; } return false ; }
determine if the project page is empty . in other words , the user hasn ' t entered any information for a single field yet . there is a total of 7 fields on this page .
