Skip to content
Snippets Groups Projects
Commit 64df674a authored by felmer's avatar felmer
Browse files

SSDM-4724: Bug fixed in DataSetFileCreation: Wrong JsonObject annotation....

SSDM-4724: Bug fixed in DataSetFileCreation: Wrong JsonObject annotation. setFileLength and setChecksumCRC32 had arguments of primitive type instead of wrapper class type.

SVN: 38016
parent 2076ffff
No related branches found
No related tags found
No related merge requests found
...@@ -4,7 +4,7 @@ import ch.ethz.sis.openbis.generic.asapi.v3.dto.common.create.ICreation; ...@@ -4,7 +4,7 @@ import ch.ethz.sis.openbis.generic.asapi.v3.dto.common.create.ICreation;
import ch.systemsx.cisd.base.annotation.JsonObject; import ch.systemsx.cisd.base.annotation.JsonObject;
import ch.systemsx.cisd.common.annotation.TechPreview; import ch.systemsx.cisd.common.annotation.TechPreview;
@JsonObject("dss.dto.datasetfile.DataSetFileCreation") @JsonObject("dss.dto.datasetfile.create.DataSetFileCreation")
@TechPreview @TechPreview
public class DataSetFileCreation implements ICreation public class DataSetFileCreation implements ICreation
{ {
...@@ -13,7 +13,7 @@ public class DataSetFileCreation implements ICreation ...@@ -13,7 +13,7 @@ public class DataSetFileCreation implements ICreation
private String path; private String path;
private boolean isDirectory; private boolean directory;
private Long fileLength; private Long fileLength;
...@@ -31,12 +31,12 @@ public class DataSetFileCreation implements ICreation ...@@ -31,12 +31,12 @@ public class DataSetFileCreation implements ICreation
public boolean isDirectory() public boolean isDirectory()
{ {
return isDirectory; return directory;
} }
public void setDirectory(boolean isDirectory) public void setDirectory(boolean directory)
{ {
this.isDirectory = isDirectory; this.directory = directory;
} }
public Long getFileLength() public Long getFileLength()
...@@ -44,7 +44,7 @@ public class DataSetFileCreation implements ICreation ...@@ -44,7 +44,7 @@ public class DataSetFileCreation implements ICreation
return fileLength; return fileLength;
} }
public void setFileLength(long fileLength) public void setFileLength(Long fileLength)
{ {
this.fileLength = fileLength; this.fileLength = fileLength;
} }
...@@ -54,7 +54,7 @@ public class DataSetFileCreation implements ICreation ...@@ -54,7 +54,7 @@ public class DataSetFileCreation implements ICreation
return checksumCRC32; return checksumCRC32;
} }
public void setChecksumCRC32(int checksumCRC32) public void setChecksumCRC32(Integer checksumCRC32)
{ {
this.checksumCRC32 = checksumCRC32; this.checksumCRC32 = checksumCRC32;
} }
......
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