예제 #1
0
 protected boolean checkIfDataIsFilled() {
   Person person = getPerson();
   return (person.getGender() != null
       && person.getEmissionDateOfDocumentIdYearMonthDay() != null
       && person.getEmissionLocationOfDocumentId() != null
       && person.getExpirationDateOfDocumentIdYearMonthDay() != null
       && person.getSocialSecurityNumber() != null
       && person.getProfession() != null
       && person.getMaritalStatus() != null
       && person.getDateOfBirthYearMonthDay() != null
       && person.getCountry() != null
       && person.getParishOfBirth() != null
       && person.getDistrictSubdivisionOfBirth() != null
       && person.getDistrictOfBirth() != null
       && person.getCountryOfBirth() != null
       && person.getNameOfFather() != null
       && person.getNameOfMother() != null
       && person.hasDefaultPhysicalAddress()
       && person.getInstitutionalOrDefaultEmailAddressValue() != null);
 }