DataPackageAttachmentMetadata

public class DataPackageAttachmentMetadata extends AbstractShadowableRdcDomainObject

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

Fields

dataAcquisitionProjectId

private String dataAcquisitionProjectId

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

dataPackageId

private String dataPackageId

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

indexInDataPackage

private Integer indexInDataPackage

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

serialVersionUID

private static final long serialVersionUID

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 DataPackageAttachmentTypes and must not be empty.