Class SubDataSet
java.lang.Object
eu.dzhw.fdz.metadatamanagement.datasetmanagement.domain.SubDataSet
- All Implemented Interfaces:
Serializable
public class SubDataSet extends Object implements Serializable
A subdataset is part of a
DataSet
and describes the concrete analyzable file which is
accessible by a given access way.- See Also:
- Serialized Form
-
Field Summary
Fields Modifier and Type Field Description private @NotNull(message="data-set-management.error.sub-data-set.access-way.not-null") String
accessWay
The access way of this subdataset.private @NotEmpty(message="data-set-management.error.sub-data-set.data-formats.not-empty") Set<DataFormat>
dataFormats
Set of available file formats of theSubDataSet
.private @I18nStringSize(max=512,message="data-set-management.error.sub-data-set.description.i18n-string-size") I18nString
description
A description for this subdataset.private @NotEmpty(message="data-set-management.error.sub-data-set.name.not-empty") @Size(max=32,message="data-set-management.error.sub-data-set.name.size") String
name
The filename of the subdataset without extension.private @NotNull(message="data-set-management.error.sub-data-set.number-of-observations.not-null") @Min(value=1L,message="data-set-management.error.sub-data-set.number-of-observations.min") Integer
numberOfObservations
The number of rows (observations or episodes) which are present in this subdataset.private static long
serialVersionUID
-
Constructor Summary
Constructors Constructor Description SubDataSet()
-
Method Summary
-
Field Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
- Constant Field Values
-
name
@NotEmpty(message="data-set-management.error.sub-data-set.name.not-empty") @Size(max=32, message="data-set-management.error.sub-data-set.name.size") private @NotEmpty(message="data-set-management.error.sub-data-set.name.not-empty") @Size(max=32,message="data-set-management.error.sub-data-set.name.size") String nameThe filename of the subdataset without extension. Must not be empty and must not contain more than 32 characters. -
numberOfObservations
@NotNull(message="data-set-management.error.sub-data-set.number-of-observations.not-null") @Min(value=1L, message="data-set-management.error.sub-data-set.number-of-observations.min") private @NotNull(message="data-set-management.error.sub-data-set.number-of-observations.not-null") @Min(value=1L,message="data-set-management.error.sub-data-set.number-of-observations.min") Integer numberOfObservationsThe number of rows (observations or episodes) which are present in this subdataset. Must not be empty and greater than zero. -
accessWay
@NotNull(message="data-set-management.error.sub-data-set.access-way.not-null") @ValidAccessWay(message="data-set-management.error.sub-data-set.access-way.valid-access-way") private @NotNull(message="data-set-management.error.sub-data-set.access-way.not-null") String accessWayThe access way of this subdataset. Describes how the user will be able to work with the data set. Must not be empty and be one ofAccessWays
but notAccessWays.NOT_ACCESSIBLE
. -
description
@I18nStringSize(max=512, message="data-set-management.error.sub-data-set.description.i18n-string-size") @I18nStringNotEmpty(message="data-set-management.error.sub-data-set.description.i18n-string-not-empty") private @I18nStringSize(max=512,message="data-set-management.error.sub-data-set.description.i18n-string-size") I18nString descriptionA description for this subdataset. It must be specified in at least one language and it must not contain more than 512 characters. -
dataFormats
@NotEmpty(message="data-set-management.error.sub-data-set.data-formats.not-empty") private @NotEmpty(message="data-set-management.error.sub-data-set.data-formats.not-empty") Set<DataFormat> dataFormatsSet of available file formats of theSubDataSet
.
-
-
Constructor Details
-
SubDataSet
public SubDataSet()
-