You'll need to explicitly cast the returned object to a DownloadDataBean -
if you're not certain that you will always get a DownloadDataBean back,
you should also use an instanceof check to avoid a ClassCastException:
If your getReportDataBean() _always_ returns a DownloadDataBean, you might want to consider changing the return type so that every caller does not have to cast it.