In order to mitigate against the brute force attacks against Gitlab accounts, we are moving to all edu-ID Logins. We would like to remind you to link your account with your edu-id. Login will be possible only by edu-ID after November 30, 2021. Here you can find the instructions for linking your account.

If you don't have a SWITCH edu-ID, you can create one with this guide here

kind regards

RecordSet.kt 4.65 KB
Newer Older
Jonas Waeber's avatar
Jonas Waeber committed
1
/*
Jonas Waeber's avatar
Jonas Waeber committed
2
 * Drupal Sync Service
Jonas Waeber's avatar
Jonas Waeber committed
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
 * Copyright (C) 2020 Memoriav
 *
 * This program is free software: you can redistribute it and/or modify
 * it under the terms of the GNU Affero General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU Affero General Public License for more details.
 *
 * You should have received a copy of the GNU Affero General Public License
 * along with this program.  If not, see <https://www.gnu.org/licenses/>.
 */
Jonas Waeber's avatar
Jonas Waeber committed
18
package org.memobase.model
Jonas Waeber's avatar
Jonas Waeber committed
19

20
data class RecordSet(
Jonas Waeber's avatar
Jonas Waeber committed
21
22
23
    /* Publikations Status */
    val status: Boolean,
    /* 0.1 Titel (Memobase) */
24
    val title_de: String,
25
26
    val title_fr: String,
    val title_it: String,
Jonas Waeber's avatar
Jonas Waeber committed
27
28
29
    /* 0.2.1 Thumbnail Searchresult */
    val computed_teaser_image_url: String?,
    /* 1.1 Inhalt */
30
    val field_content_de: RichText?,
Jonas Waeber's avatar
Jonas Waeber committed
31
32
33
34
35
36
37
38
39
    val field_content_fr: RichText?,
    val field_content_it: RichText?,
    /* 1.2 Entstehungszeitrum */
    val field_time_period: String?,
    /// 1.3 Sprache
    val field_language_de: String?,
    val field_language_fr: String?,
    val field_language_it: String?,
    /* 1.4 Zugang Memobase */
40
41
42
    val field_access_memobase_de: RichText?,
    val field_access_memobase_fr: RichText?,
    val field_access_memobase_it: RichText?,
Jonas Waeber's avatar
Jonas Waeber committed
43
    /* 2.1 Kontext */
44
    val field_context_de: RichText?,
Jonas Waeber's avatar
Jonas Waeber committed
45
46
47
    val field_context_fr: RichText?,
    val field_context_it: RichText?,
    /* 3.1 Titel (original) */
48
    val field_original_title_de: String?,
Jonas Waeber's avatar
Jonas Waeber committed
49
50
51
    val field_original_title_fr: String?,
    val field_original_title_it: String?,
    /* 3.2 Umfang */
52
    val field_scope_de: RichText?,
Jonas Waeber's avatar
Jonas Waeber committed
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
    val field_scope_fr: RichText?,
    val field_scope_it: RichText?,
    /* 3.3 Auswahl */
    val field_selection_de: RichText?,
    val field_selection_fr: RichText?,
    val field_selection_it: RichText?,
    // 3.4 Informationen zur Erschliessung
    val field_info_on_development_de: RichText?,
    val field_info_on_development_fr: RichText?,
    val field_info_on_development_it: RichText?,
    /* 3.5 Sprache Metadaten */
    val field_metadata_language_codes: List<String>,
    /* 3.6 Rechte */
    val field_rights_de: RichText?,
    val field_rights_fr: RichText?,
    val field_rights_it: RichText?,
    /* 3.7 Originaler Identifier */
    val field_original_id: String?,
    /* 3.8 Bestandes Signatur */
    val field_original_shelf_mark: String?,
    /* 3.9 Beschreibung */
74
    val field_text_de: RichText?,
75
76
    val field_text_fr: RichText?,
    val field_text_it: RichText?,
Jonas Waeber's avatar
Jonas Waeber committed
77
78
    /* 3.9 Original Bestandesbeschreibung (Titel) */
    /* 3.9.1 Original Bestandesbeschreibung (Link) */
79
    val field_original_description_de: Link?,
Jonas Waeber's avatar
Jonas Waeber committed
80
81
82
    val field_original_description_it: Link?,
    val field_original_description_fr: Link?,
    /* 4.1 Zugang */
83
84
85
    val field_access_de: RichText?,
    val field_access_fr: RichText?,
    val field_access_it: RichText?,
Jonas Waeber's avatar
Jonas Waeber committed
86
87
88
89
90
91
92
93
    /* 4.2 Original Institution */
    val field_resp_institution_original: List<String>,
    /* 4.3 Master Institution */
    val field_resp_institution_master: List<String>,
    /* 4.4 Zugangs Institution*/
    val field_resp_institution_access: List<String>,
    /* 5.1 Projektname */
    /* 5.2 Projektbeschreibung (Link) */
94
    val field_project_de: List<Link>,
Jonas Waeber's avatar
Jonas Waeber committed
95
96
97
98
    val field_project_fr: List<Link>,
    val field_project_it: List<Link>,
    /* 5.1 Verwandte Bestände (Titel) */
    /* 5.2 Verwandte Bestände (Link) */
99
    val field_related_record_sets_de: List<Link>,
Jonas Waeber's avatar
Jonas Waeber committed
100
101
102
103
    val field_related_record_sets_fr: List<Link>,
    val field_related_record_sets_it: List<Link>,
    /* 5.5 Puplikation (Titel) */
    /* 5.6 Publikation (Link) */
104
    val field_publications_de: List<Link>,
Jonas Waeber's avatar
Jonas Waeber committed
105
106
107
108
    val field_publications_fr: List<Link>,
    val field_publications_it: List<Link>,
    /* 5.7 Verwandte Dokumente (Titel) */
    /* 5.8 Verwandte Dokumente (Link) */
109
110
111
    val field_documents_de: List<Link>,
    val field_documents_fr: List<Link>,
    val field_documents_it: List<Link>,
Jonas Waeber's avatar
Jonas Waeber committed
112
    /* 6.1 Datenübernahme */
113
    val field_data_transfer_de: RichText?,
Jonas Waeber's avatar
Jonas Waeber committed
114
115
116
117
118
    val field_data_transfer_fr: RichText?,
    val field_data_transfer_it: RichText?,
    /* 6.2 Datum Übernahme (YYYY-MM-DD) */
    val field_transfer_date: String?,
    /* 6.4 Memobase ID (Neu)*/
119
    val field_memobase_id: String,
Jonas Waeber's avatar
Jonas Waeber committed
120
    /* 8.1 Unterstützt durch Memoriav */
121
    val field_supported_by_memoriav: Boolean,
Jonas Waeber's avatar
Jonas Waeber committed
122
    /* 8.2 Institution */
123
    val field_institution: List<String>,
Jonas Waeber's avatar
Jonas Waeber committed
124
125
    /* 9.3 Memobase ID (Alt)*/
    val field_old_memobase_id: String?
126
) : Input("RecordSet")