StudyAttachmentMetadata

public class StudyAttachmentMetadata extends AbstractShadowableRdcDomainObject

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

Fields

dataAcquisitionProjectId

private String dataAcquisitionProjectId

The id of the DataAcquisitionProject to which the Study 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.

indexInStudy

private Integer indexInStudy

The index in the Study of this attachment. Used for sorting the attachments of this Study. 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

The master id of the study attachment.

serialVersionUID

private static final long serialVersionUID

studyId

private String studyId

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

title

private String title

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

type

private I18nString type

The type of the attachment. Must be one of StudyAttachmentTypes and must not be empty.