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 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 instrumentNumber
      The number of the Instrument of this Question. 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 questionNumber
      The number of the corresponding Question. Must not be empty.
    • relatedQuestionStrings

      @I18nStringSize(max=1048576, message="variable-management.error.variable.related-question-strings.i18n-string-size") private @I18nStringSize(max=1048576,message="variable-management.error.variable.related-question-strings.i18n-string-size") I18nString relatedQuestionStrings
      All Strings (concatenated) of this Question which "belong" to this Variable. These Strings typically overlap with String from other Variables of the same Question.
    • questionId

      private String questionId
      The id of the corresponding Question. Must not be empty.
    • instrumentId

      private String instrumentId
      The id of the Instrument of this Question. Must not be empty.
  • Constructor Details

    • RelatedQuestion

      public RelatedQuestion()