if (getRequestParameter("isToRemoveParentUnit") != null && !getRequestParameter("isToRemoveParentUnit").toString().equals("")) {
if (!StringUtils.isEmpty(getRequestParameter("accountabilityID"))) { this.accountabilityID = Integer.valueOf(getRequestParameter("accountabilityID").toString()); } if (!StringUtils.isEmpty(getRequestParameter("isToRemoveParentUnit"))) {
    public OrganizationalStructureBackingBean() {	if (getRequestParameter("unitID") != null		&& !getRequestParameter("unitID").toString().equals("")) {	    getUnitIDHidden().setValue(Integer.valueOf(getRequestParameter("unitID").toString()));	}	if (getRequestParameter("chooseUnitID") != null		&& !getRequestParameter("chooseUnitID").toString().equals("")) {	    getChooseUnitIDHidden().setValue(		    Integer.valueOf(getRequestParameter("chooseUnitID").toString()));	}	if (getRequestParameter("functionID") != null		&& !getRequestParameter("functionID").toString().equals("")) {	    getFunctionIDHidden()		    .setValue(Integer.valueOf(getRequestParameter("functionID").toString()));	}	if (getRequestParameter("principalFunctionID") != null		&& !getRequestParameter("principalFunctionID").toString().equals("")) {	    this.principalFunctionID = Integer.valueOf(getRequestParameter("principalFunctionID")		    .toString());	}	if (getRequestParameter("isToRemoveParentUnit") != null		&& !getRequestParameter("isToRemoveParentUnit").toString().equals("")) {	    this.toRemoveParentUnit = Boolean.valueOf(getRequestParameter("isToRemoveParentUnit")		    .toString());	} else {	    this.toRemoveParentUnit = false;	}    }