# RelatedQuestion¶

public class RelatedQuestion

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.

## Fields¶

### instrumentId¶

private String instrumentId

The id of the Instrument of this Question. Must not be empty.

### instrumentNumber¶

private String instrumentNumber

The number of the Instrument of this Question. Must not be empty.

### questionId¶

private String questionId

The id of the corresponding Question. Must not be empty.

### questionNumber¶

private String questionNumber

The number of the corresponding Question. Must not be empty.

### relatedQuestionStrings¶

private 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.