ConceptAttachmentMetadata

public class ConceptAttachmentMetadata extends AbstractRdcDomainObject

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

Fields

conceptId

private String conceptId

The id of the Concept 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.

indexInConcept

private Integer indexInConcept

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

serialVersionUID

private static final long serialVersionUID

title

private String title

An optional title of this attachment in the attachments‘ language. It must not contain more than 2048 characters.

type

private I18nString type

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