Skip to content
Snippets Groups Projects
Commit f69af5a3 authored by buczekp's avatar buczekp
Browse files

[LMS-2442] fixed serialization

SVN: 22468
parent 1f45c67e
No related branches found
No related tags found
No related merge requests found
...@@ -34,6 +34,7 @@ import ch.systemsx.cisd.openbis.generic.server.dataaccess.IDAOFactory; ...@@ -34,6 +34,7 @@ import ch.systemsx.cisd.openbis.generic.server.dataaccess.IDAOFactory;
import ch.systemsx.cisd.openbis.generic.server.dataaccess.IDataDAO; import ch.systemsx.cisd.openbis.generic.server.dataaccess.IDataDAO;
import ch.systemsx.cisd.openbis.generic.shared.IDataStoreService; import ch.systemsx.cisd.openbis.generic.shared.IDataStoreService;
import ch.systemsx.cisd.openbis.generic.shared.basic.TechId; import ch.systemsx.cisd.openbis.generic.shared.basic.TechId;
import ch.systemsx.cisd.openbis.generic.shared.basic.dto.DatasetLocation;
import ch.systemsx.cisd.openbis.generic.shared.basic.dto.IDatasetLocation; import ch.systemsx.cisd.openbis.generic.shared.basic.dto.IDatasetLocation;
import ch.systemsx.cisd.openbis.generic.shared.dto.DataPE; import ch.systemsx.cisd.openbis.generic.shared.dto.DataPE;
import ch.systemsx.cisd.openbis.generic.shared.dto.DataStorePE; import ch.systemsx.cisd.openbis.generic.shared.dto.DataStorePE;
...@@ -261,20 +262,10 @@ public final class DeletedDataSetTable extends AbstractDataSetBusinessObject imp ...@@ -261,20 +262,10 @@ public final class DeletedDataSetTable extends AbstractDataSetBusinessObject imp
private IDatasetLocation asDatasetLocation(final DeletedExternalDataPE dataSet) private IDatasetLocation asDatasetLocation(final DeletedExternalDataPE dataSet)
{ {
assert dataSet != null; assert dataSet != null;
final DatasetLocation result = new DatasetLocation();
return new IDatasetLocation() result.setDatasetCode(dataSet.getCode());
{ result.setDataSetLocation(dataSet.getLocation());
return result;
public String getDataSetLocation()
{
return dataSet.getLocation();
}
public String getDataSetCode()
{
return dataSet.getCode();
}
};
} }
} }
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment