2023-03-31 16:13:52 +02:00
|
|
|
package eu.dnetlib.openaire.exporter.model.dsm;
|
2023-01-23 10:27:07 +01:00
|
|
|
|
2024-03-18 11:19:16 +01:00
|
|
|
import java.io.Serializable;
|
2023-01-23 10:27:07 +01:00
|
|
|
|
2024-03-18 11:19:16 +01:00
|
|
|
import com.fasterxml.jackson.annotation.JsonAutoDetect;
|
|
|
|
import com.fasterxml.jackson.annotation.JsonInclude;
|
|
|
|
import com.fasterxml.jackson.annotation.JsonInclude.Include;
|
2023-01-23 10:27:07 +01:00
|
|
|
|
2024-03-18 11:19:16 +01:00
|
|
|
@JsonAutoDetect
|
|
|
|
@JsonInclude(Include.NON_NULL)
|
|
|
|
public class AggregationInfoV1 implements Serializable {
|
|
|
|
|
|
|
|
private static final long serialVersionUID = 7333873121568523946L;
|
|
|
|
|
|
|
|
private int numberOfRecords;
|
|
|
|
|
|
|
|
private String date;
|
|
|
|
|
|
|
|
private AggregationStage aggregationStage;
|
|
|
|
|
|
|
|
private boolean indexedVersion = false;
|
|
|
|
|
|
|
|
private CollectionMode collectionMode;
|
|
|
|
|
|
|
|
public AggregationInfoV1() {}
|
|
|
|
|
|
|
|
public int getNumberOfRecords() {
|
|
|
|
return numberOfRecords;
|
|
|
|
}
|
|
|
|
|
|
|
|
public void setNumberOfRecords(final int numberOfRecords) {
|
|
|
|
this.numberOfRecords = numberOfRecords;
|
|
|
|
}
|
|
|
|
|
|
|
|
public String getDate() {
|
|
|
|
return date;
|
|
|
|
}
|
|
|
|
|
|
|
|
public void setDate(final String date) {
|
|
|
|
this.date = date;
|
|
|
|
}
|
|
|
|
|
|
|
|
public AggregationStage getAggregationStage() {
|
|
|
|
return aggregationStage;
|
|
|
|
}
|
|
|
|
|
|
|
|
public void setAggregationStage(final AggregationStage aggregationStage) {
|
|
|
|
this.aggregationStage = aggregationStage;
|
|
|
|
}
|
|
|
|
|
|
|
|
public boolean isIndexedVersion() {
|
|
|
|
return indexedVersion;
|
|
|
|
}
|
|
|
|
|
|
|
|
public void setIndexedVersion(final boolean indexedVersion) {
|
|
|
|
this.indexedVersion = indexedVersion;
|
|
|
|
}
|
|
|
|
|
|
|
|
public CollectionMode getCollectionMode() {
|
|
|
|
return collectionMode;
|
|
|
|
}
|
|
|
|
|
|
|
|
public void setCollectionMode(final CollectionMode collectionMode) {
|
|
|
|
this.collectionMode = collectionMode;
|
2023-01-23 10:27:07 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
}
|