Class SurveyResponseRateImageMetadata

All Implemented Interfaces:
Serializable

public class SurveyResponseRateImageMetadata
extends AbstractShadowableRdcDomainObject
Metadata which will be stored with each response rate image of a Survey.
See Also:
Serialized Form
  • Field Details

    • serialVersionUID

      private static final long serialVersionUID
      See Also:
      Constant Field Values
    • id

      private String id
      The id of the response rate image. Holds the complete path which can be used to download the file.
    • masterId

      private String masterId
      The master id of the survey response rate image metadata.
    • surveyId

      @NotEmpty(message="survey-management.error.survey-response-rate-image-metadata.survey-id.not-empty") private @NotEmpty(message="survey-management.error.survey-response-rate-image-metadata.survey-id.not-empty") String surveyId
      The id of the Survey to which this response rate image belongs. Must not be empty.
    • dataAcquisitionProjectId

      @NotEmpty(message="survey-management.error.survey-response-rate-image-metadata.project-id.not-empty") private @NotEmpty(message="survey-management.error.survey-response-rate-image-metadata.project-id.not-empty") String dataAcquisitionProjectId
      The id of the DataAcquisitionProject to which the Survey of this response rate image belongs. Must not be empty.
    • language

      @NotNull(message="survey-management.error.survey-response-rate-image-metadata.language.not-null") @ValidIsoLanguage(message="survey-management.error.survey-response-rate-image-metadata.language.not-supported") private @NotNull(message="survey-management.error.survey-response-rate-image-metadata.language.not-null") @ValidIsoLanguage(message="survey-management.error.survey-response-rate-image-metadata.language.not-supported") String language
      The language used in the response rate image. Must be either "de" or "en".
    • fileName

      @NotEmpty(message="survey-management.error.survey-response-rate-image-metadata.filename.not-empty") @Pattern(message="survey-management.survey-response-rate-image-metadata.filename.not-valid", regexp="^[_A-Za-z0-9\u00e4\u00f6\u00fc\u00c4\u00d6\u00dc\u00df\\-\\.]*$") private @NotEmpty(message="survey-management.error.survey-response-rate-image-metadata.filename.not-empty") @Pattern(message="survey-management.survey-response-rate-image-metadata.filename.not-valid",regexp="^[_A-Za-z0-9\u00e4\u00f6\u00fc\u00c4\u00d6\u00dc\u00df\\-\\.]*$") String fileName
      The filename of the image. Must not be empty and must contain only (german) alphanumeric characters and "_" and "-" and ".".
    • surveyNumber

      @NotNull(message="survey-management.error.survey-response-rate-image-metadata.survey-number.not-null") private @NotNull(message="survey-management.error.survey-response-rate-image-metadata.survey-number.not-null") Integer surveyNumber
      The number of the Survey to which this response rate image belongs. Must not be empty.
  • Constructor Details

    • SurveyResponseRateImageMetadata

      public SurveyResponseRateImageMetadata()
  • Method Details