Package dev.dokimos.server.entity
Class DatasetVersion
java.lang.Object
dev.dokimos.server.entity.DatasetVersion
An immutable snapshot of a
Dataset. Each version owns an ordered list of items and the
materialized itemCount is written at create time so listings need no extra aggregate. The
(datasetId, version) pair is unique; the version number is monotonically increasing per
dataset.-
Constructor Summary
ConstructorsConstructorDescriptionDatasetVersion(Dataset dataset, int version, String description, String createdBy, int itemCount) -
Method Summary
-
Constructor Details
-
DatasetVersion
-
-
Method Details
-
getId
-
getDataset
-
getVersion
public int getVersion() -
getDescription
-
getCreatedAt
-
getCreatedBy
-
getItemCount
public int getItemCount()
-