diff --git a/openbis_api/source/java/ch/ethz/sis/openbis/generic/dssapi/v3/dto/datasetfile/DataSetFile.java b/openbis_api/source/java/ch/ethz/sis/openbis/generic/dssapi/v3/dto/datasetfile/DataSetFile.java index 6ce031c433f0953c21fe7bbf49c5cf8207f43cf0..e7747d5c092036630f69b2216fa02b1d9ba1ebe1 100644 --- a/openbis_api/source/java/ch/ethz/sis/openbis/generic/dssapi/v3/dto/datasetfile/DataSetFile.java +++ b/openbis_api/source/java/ch/ethz/sis/openbis/generic/dssapi/v3/dto/datasetfile/DataSetFile.java @@ -45,6 +45,9 @@ public class DataSetFile implements Serializable @JsonProperty private boolean isDirectory; + @JsonProperty + private long fileLength; + @JsonIgnore public DataSetFilePermId getPermId() { @@ -89,6 +92,17 @@ public class DataSetFile implements Serializable this.isDirectory = isDirectory; } + @JsonIgnore + public long getFileLength() + { + return fileLength; + } + + public void setFileLength(long fileLength) + { + this.fileLength = fileLength; + } + @Override public String toString() { diff --git a/openbis_api/sourceTest/java/ch/ethz/sis/openbis/generic/sharedapi/v3/dictionary.txt b/openbis_api/sourceTest/java/ch/ethz/sis/openbis/generic/sharedapi/v3/dictionary.txt index 6df4c05d50ad1994b472669499630c1b76e10e19..19b03352d4a7a4c6be902f8b3c79016f7ac0e00f 100644 --- a/openbis_api/sourceTest/java/ch/ethz/sis/openbis/generic/sharedapi/v3/dictionary.txt +++ b/openbis_api/sourceTest/java/ch/ethz/sis/openbis/generic/sharedapi/v3/dictionary.txt @@ -232,6 +232,7 @@ getFileFormatType getFileFormatTypeId getFileName getFilePath +getFileLength getFirstName getFormat getFrom @@ -619,6 +620,7 @@ setFileFormatType setFileFormatTypeId setFileName setFilePath +setFileLength setFirstName setGeneratedCodePrefix setHistory