Class RelatedQuestion
java.lang.Object
eu.dzhw.fdz.metadatamanagement.variablemanagement.domain.RelatedQuestion
- All Implemented Interfaces:
Serializable
public class RelatedQuestion extends Object implements Serializable
A related question is a
Question
which has been asked to generate the values of a
Variable
. It contains the ids of the Instrument
and the Question
as well
as all Strings of the Question
which are related to this Variable
.- See Also:
- Serialized Form
-
Field Summary
Fields Modifier and Type Field Description private String
instrumentId
The id of theInstrument
of thisQuestion
.private @NotEmpty(message="variable-management.error.variable.related-question-instrument-number-not-empty") String
instrumentNumber
The number of theInstrument
of thisQuestion
.private String
questionId
The id of the correspondingQuestion
.private @Size(max=32,message="variable-management.error.variable.related-question-number-size") @NotEmpty(message="variable-management.error.variable.related-question-number-not-empty") String
questionNumber
The number of the correspondingQuestion
.private @I18nStringSize(max=1048576,message="variable-management.error.variable.related-question-strings.i18n-string-size") I18nString
relatedQuestionStrings
private static long
serialVersionUID
-
Constructor Summary
Constructors Constructor Description RelatedQuestion()
-
Method Summary
-
Field Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
- Constant Field Values
-
instrumentNumber
@NotEmpty(message="variable-management.error.variable.related-question-instrument-number-not-empty") private @NotEmpty(message="variable-management.error.variable.related-question-instrument-number-not-empty") String instrumentNumberThe number of theInstrument
of thisQuestion
. Must not be empty. -
questionNumber
@Size(max=32, message="variable-management.error.variable.related-question-number-size") @NotEmpty(message="variable-management.error.variable.related-question-number-not-empty") private @Size(max=32,message="variable-management.error.variable.related-question-number-size") @NotEmpty(message="variable-management.error.variable.related-question-number-not-empty") String questionNumberThe number of the correspondingQuestion
. Must not be empty. -
questionId
The id of the correspondingQuestion
. Must not be empty. -
instrumentId
The id of theInstrument
of thisQuestion
. Must not be empty.
-
-
Constructor Details
-
RelatedQuestion
public RelatedQuestion()
-