Class Missing
java.lang.Object
eu.dzhw.fdz.metadatamanagement.variablemanagement.domain.Missing
- All Implemented Interfaces:
Serializable
public class Missing extends Object implements Serializable
A missing or missing value is a value in a
Variable
which represents a reason why no
observation (ValidResponse
) has been stored. It also contains its frequency.- See Also:
- Serialized Form
-
Field Summary
Fields Modifier and Type Field Description private @NotNull(message="variable-management.error.missing.absolute-frequency.not-null") Integer
absoluteFrequency
The absolute number of occurrences of this missing.private @NotEmpty(message="variable-management.error.missing.code.not-null") String
code
A (unique in thisVariable
) code for this missing.private @I18nStringSize(max=512,message="variable-management.error.missing.label.i18n-string-size") I18nString
label
A label describing this missing.private @NotNull(message="variable-management.error.missing.relative-frequency.not-null") Double
relativeFrequency
The quotient from absoluteFrequency andDistribution
.totalAbsoluteFrequency.private static long
serialVersionUID
-
Constructor Summary
Constructors Constructor Description Missing()
-
Method Summary
-
Field Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
- Constant Field Values
-
code
@NotEmpty(message="variable-management.error.missing.code.not-null") private @NotEmpty(message="variable-management.error.missing.code.not-null") String codeA (unique in thisVariable
) code for this missing. Must not be empty. -
label
@I18nStringSize(max=512, message="variable-management.error.missing.label.i18n-string-size") private @I18nStringSize(max=512,message="variable-management.error.missing.label.i18n-string-size") I18nString labelA label describing this missing. Must not contain more than 512 characters. -
absoluteFrequency
@NotNull(message="variable-management.error.missing.absolute-frequency.not-null") private @NotNull(message="variable-management.error.missing.absolute-frequency.not-null") Integer absoluteFrequencyThe absolute number of occurrences of this missing. Must not be empty. -
relativeFrequency
@NotNull(message="variable-management.error.missing.relative-frequency.not-null") private @NotNull(message="variable-management.error.missing.relative-frequency.not-null") Double relativeFrequencyThe quotient from absoluteFrequency andDistribution
.totalAbsoluteFrequency. Must not be empty.
-
-
Constructor Details
-
Missing
public Missing()
-