public static String getFullPersonAddress(Person p) {

    String address = "-/-/-/-/-/-";
    try {
      //			Country/Province/District/Sector/Cell/Umudugudu
      PersonAddress pa = null;
      if (p != null) pa = p.getPersonAddress();
      if (pa != null) {
        address =
            ((pa.getCountry() != null) ? pa.getCountry() : "-")
                + " / "
                + ((pa.getStateProvince() != null) ? pa.getStateProvince() : "-")
                + " / "
                + ((pa.getCountyDistrict() != null) ? pa.getCountyDistrict() : "-")
                + " / "
                + ((pa.getCityVillage() != null) ? pa.getCityVillage() : "-")
                + " / "
                + ((pa.getNeighborhoodCell() != null) ? pa.getNeighborhoodCell() : "-")
                + " / "
                + ((pa.getAddress1() != null) ? pa.getAddress1() : "-");
      } else return address;
      return address;
    } catch (Exception e) {
      log.error(">>>>>>>>>>>>>>>>>>>VCT>>Module>>Tag>>>> An error occured : " + e.getMessage());
      e.printStackTrace();
      return address;
    }
  }
 /**
  * Auto generated method comment
  *
  * @param p
  * @param addressTypeId
  * @return
  */
 public static String personAddress(Person p, Integer addressTypeId) {
   try {
     PersonAddress pa = null;
     if (p != null) pa = p.getPersonAddress();
     if (pa != null) {
       switch (addressTypeId) {
         case 1:
           return (pa.getAddress1().compareToIgnoreCase("") == 0) ? "-" : pa.getAddress1();
         case 2:
           return (pa.getAddress2().compareToIgnoreCase("") == 0) ? "-" : pa.getAddress2();
         case 3:
           return (pa.getCityVillage().compareToIgnoreCase("") == 0) ? "-" : pa.getCityVillage();
         default:
           return "-";
       }
     } else return "-";
   } catch (Exception e) {
     log.error(">>>>>>>>>>>>>>>>>>>VCT>>Module>>Tag>>>> An error occured : " + e.getMessage());
     e.printStackTrace();
     return "-";
   }
 }