Skip to content
Snippets Groups Projects
Commit 6fec6f2c authored by pkupczyk's avatar pkupczyk
Browse files

SSDM-138 : V3 AS API - improve performance of sample/experiment create and...

SSDM-138 : V3 AS API - improve performance of sample/experiment create and update methods - missing Serializable

SVN: 32449
parent f3cbc054
No related branches found
No related tags found
No related merge requests found
......@@ -16,6 +16,7 @@
package ch.ethz.sis.openbis.generic.shared.api.v3.dto.entity.experiment;
import java.io.Serializable;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
......@@ -32,9 +33,11 @@ import ch.systemsx.cisd.base.annotation.JsonObject;
* @author pkupczyk
*/
@JsonObject("ExperimentUpdate")
public class ExperimentUpdate
public class ExperimentUpdate implements Serializable
{
private static final long serialVersionUID = 1L;
private IExperimentId experimentId;
private Map<String, String> properties = new HashMap<String, String>();
......
......@@ -16,13 +16,17 @@
package ch.ethz.sis.openbis.generic.shared.api.v3.dto.entity.material;
import java.io.Serializable;
import ch.systemsx.cisd.base.annotation.JsonObject;
/**
* @author pkupczyk
*/
@JsonObject("Material")
public class Material
public class Material implements Serializable
{
private static final long serialVersionUID = 1L;
}
......@@ -16,6 +16,7 @@
package ch.ethz.sis.openbis.generic.shared.api.v3.dto.entity.sample;
import java.io.Serializable;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
......@@ -33,8 +34,10 @@ import ch.systemsx.cisd.base.annotation.JsonObject;
* @author pkupczyk
*/
@JsonObject("SampleCreation")
public class SampleCreation
public class SampleCreation implements Serializable
{
private static final long serialVersionUID = 1L;
private IEntityTypeId typeId;
private IExperimentId experimentId;
......
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