SurveyAttachmentMetadata

public class SurveyAttachmentMetadata extends AbstractShadowableRdcDomainObject

Metadata which will be stored with each attachment of a Survey.

Fields

dataAcquisitionProjectId

private String dataAcquisitionProjectId

The id of the DataAcquisitionProject to which the Survey of this attachment belongs. Must not be empty.

description

private I18nString description

A description for this attachment. It must be specified in at least one language and it must not contain more than 512 characters.

fileName

private String fileName

The filename of the attachment. Must not be empty and must contain only (german) alphanumeric characters and „_“ and „-“ and „.“.

id

private String id

The id of the attachment. Holds the complete path which can be used to download the file.

indexInSurvey

private Integer indexInSurvey

The index in the Survey of this attachment. Used for sorting the attachments of this Survey. Must not be empty.

language

private String language

The language of the attachments content. Must not be empty and must be specified as ISO 639 language code.

masterId

private String masterId

serialVersionUID

private static final long serialVersionUID

surveyId

private String surveyId

The id of the Survey to which this attachment belongs. Must not be empty.

surveyNumber

private Integer surveyNumber

The number of the Survey to which this attachment belongs. Must not be empty.

title

private String title

A title of this attachment in the attachments‘ language. Must not be empty and it must not contain more than 2048 characters.