private void buildUnitOccupation(String propType,UnitTaxCalculationInfo unit){
  LOGGER.debug("Entered into buildUnitOccupation, propType=" + propType);
  StringBuilder occupierName=new StringBuilder();
  if (OWNERSHIP_TYPE_VAC_LAND.equals(propType)) {
    if (OCC_OWNER.equals(unit.getUnitOccupation()) || OCC_COMMERCIAL.equals(unit.getUnitOccupation())) {
      occupierName.append(propType);
    }
 else     if (OCC_TENANT.equals(unit.getUnitOccupation())) {
      occupierName.append(OPEN_PLOT_SHORTFORM + "-" + unit.getUnitOccupier());
    }
  }
  if (!OWNERSHIP_TYPE_VAC_LAND_STR.equals(propType) && !OWNERSHIP_TYPE_STATE_GOVT.equals(propType) && !OWNERSHIP_TYPE_CENTRAL_GOVT_50.equals(propType)) {
    if (OCC_TENANT.equals(unit.getUnitOccupation()) || OCC_OWNER.equals(unit.getUnitOccupation())) {
      occupierName.append("-" + unit.getUnitOccupier());
    }
 else     if (OCC_OWNER.equals(unit.getUnitOccupation()) || OCC_OWNER.equals(unit.getUnitOccupation())) {
      occupierName.append("-" + unit.getUnitOccupation());
    }
  }
  unit.setUnitOccupation(occupierName.toString());
  LOGGER.debug("occupierName=" + occupierName + "\nExiting from buildUnitOccupation");
}

private void buildUnitOccupation ( String propType , UnitTaxCalculationInfo unit ) { LOGGER . debug ( "Entered into buildUnitOccupation, propType=" + propType ) ; StringBuilder occupierName = new StringBuilder ( ) ; if ( OWNERSHIP_TYPE_VAC_LAND . equals ( propType ) ) { if ( OCC_OWNER . equals ( unit . getUnitOccupation ( ) ) || OCC_COMMERCIAL . equals ( unit . getUnitOccupation ( ) ) ) { occupierName . append ( propType ) ; } else if ( OCC_TENANT . equals ( unit . getUnitOccupation ( ) ) ) { occupierName . append ( OPEN_PLOT_SHORTFORM + "-" + unit . getUnitOccupier ( ) ) ; } } if ( ! OWNERSHIP_TYPE_VAC_LAND_STR . equals ( propType ) && ! OWNERSHIP_TYPE_STATE_GOVT . equals ( propType ) && ! OWNERSHIP_TYPE_CENTRAL_GOVT_50 . equals ( propType ) ) { if ( OCC_TENANT . equals ( unit . getUnitOccupation ( ) ) || OCC_OWNER . equals ( unit . getUnitOccupation ( ) ) ) { occupierName . append ( "-" + unit . getUnitOccupier ( ) ) ; } else if ( OCC_OWNER . equals ( unit . getUnitOccupation ( ) ) || OCC_OWNER . equals ( unit . getUnitOccupation ( ) ) ) { occupierName . append ( "-" + unit . getUnitOccupation ( ) ) ; } } unit . setUnitOccupation ( occupierName . toString ( ) ) ; LOGGER . debug ( "occupierName=" + occupierName + "\nExiting from buildUnitOccupation" ) ; }
unit occupancy in the 2nd column of the notice / prativrutta will be like for open plot if the occupancy is owner then its " open plot " . in case of open plot if the occupancy is tenant then its " op - name of occupier " . in case of state govt and central govt property ' s the format is " prefix - owner " ( ex . sgovt - owner ) in case of other property types if the occupancy is owner or vacant then its " prefix - occupancy " ( ex . r - owner / r - vacant ) . in case of other property types if the occupancy is tenant then its " prefix - name of occupier " ( ex . r - suma ) .
