Dies ist eine alte Version des Dokuments!
Inhaltsverzeichnis
docuteam packer Konfigurieren
Docupack wird mit Hilfe zweier Dateien konfiguriert:
- config/docuteamPacker.properties
- config/levels.xml
In docuteamPacker.properties wird die Funktionalität, die verwendeten Ordner und das Aussehen von Docupack eingestellt.
In levels.xml werden die Verzeichnungsstufen, die Stufenlogik, die Icons für die Stufen, die Metadaten sowie die Zuweisung von Metadaten zu den Stufen definiert.
config/docuteamPacker.properties
Beispiel
################################ # docuteam packer properties # ################################ # Display language (if empty or undefined, use the OS language): # docuteamPacker.displayLanguage = # The default data directory, used for "Insert" and "New" (if undefined, use user home; if empty, use project home): # docuteamPacker.dataDir.Win = # docuteamPacker.dataDir.OSX = # The default SIP directory, used for "Save as", "Open", and "New" (if undefined, use user home; if empty, use project home): # docuteamPacker.SIPDir.Win = docuteamPacker.SIPDir.OSX = ${HOME}/Projekte/docuteam/packer/SIPs # The backup directory, used when saving SIPs (if undefined, use user home; if empty, use project home): # docuteamPacker.backupDir.Win = docuteamPacker.backupDir.OSX = ${HOME}/Projekte/docuteam/packer/Backups # The directory the templates are stored in and retrieved from (if empty or undefined, use SIPDir): # docuteamPacker.templateDir.Win = docuteamPacker.templateDir.OSX = ${HOME}/Projekte/docuteam/packer/Templates # The temp-folder for temporary files can be set here (if empty of undefined, use the default = "./temp"): # docuteamPacker.tempDir.Win = docuteamPacker.tempDir.OSX = ${HOME}/Projekte/docuteam/packer/Temp # When true (case doesn't matter), create a backup on every save; otherwise not (undefined = true): # docuteamPacker.versioning = false # When docuteamPacker.versioning = true, set here the max. number of backups. Exeeding backups will be deleted (if empty or undefined, use default = 10) # docuteamPacker.versioning.keepBackupsCount = 20 # When true (case doesn't matter), the docuteam packer screen opens in full screen mode; otherwise use screen size and position as specified below (default = false): # docuteamPacker.openFullScreen = true # When openFullScreen is not true, these values denote the docuteam packer screen size on startup (if undefined, take 1000 x 700): # docuteamPacker.screenSize.x = 1200 # docuteamPacker.screenSize.y = 1000 # When openFullScreen is not true, these values denote the docuteam packer screen position on startup (if undefined, center on screen): # docuteamPacker.screenPos.x = 100 # docuteamPacker.screenPos.y = 100 # When true (case doesn't matter), use system look-and-feel; otherwise use cross-platform = "Metal" (undefined = true): # docuteamPacker.useSystemLookAndFeel = false # When true, retrieve the current SAs from the server (from URL below) on startup; otherwise don't (undefined = false): # docuteamPacker.SA.getSAsFromServerOnStartup = true # The URL of the SA editor application (webjaxe): # docuteamPacker.SA.BASE.URL = # The complete file path to the OOO application ("OpenOffice.org" or "OpenOffice.org 3") (if empty or undefined, use the internal OOO application; # if empty or undefined AND the internal OOO application doesn't exist, assume that no OOO application shall be used): # docuteamPacker.OOConverter.path.Win = C:\Program Files\OpenOffice.org 3 # docuteamPacker.OOConverter.path.OSX = /Applications/OpenOffice.org.app # The number of initialization retries for the OOConverter (if empty, undefined, negative, or 0, use the default number, which is 10): # docuteamPacker.OOConverter.initializationRetries = 30 # The number of files to cache for the file preview (if empty or undefined, use the default cache size, which is 100): # docuteamPacker.filePreviewer.cacheSizeLimit = 10 # When true, the SystemOutView opens when output occurs; otherwise not (undefined = true): # docuteamPacker.openSystemOutViewOnOutput = false # For developers (undefined = false): # docuteamPacker.isDevMode = true
Erklärungen
Bei Begriffen wie „true“, „false“ oder „en“ spielt die Gross-Klein-Schreibung KEINE Rolle, d.h. dass z.B. „true“ identisch ist mit „TRUE“, „True“ oder sogar „tRuE“.
Feld | Inhalt (Beispiel) | Erklärung | Wenn leer | Wenn undefiniert |
---|---|---|---|---|
displayLanguage | en | Die Sprache, in der Docupack angezeigt wird. Zur Zeit existieren drei Übersetzungen (de = deutsch, en = englisch, fr = französisch). Falls eine andere Sprache eingestellt wird, wird Docupack in deutsch angezeigt | Die Sprache des Computers. Ist diese weder “de” noch “en” noch “fr”, wird Docupack in deutsch angezeigt | Wie leer |
dataDir | C:/Data/RawData | Dieser Ordner wird standardmässig angezeigt um Dateien oder Ordner auszuwählen, die in das SIP eingefügt werden sollen | Der Ordner in dem sich Docupack befindet | Der 'home'-Ordner des aktuellen Benutzers |
SIPDir | C:/Data/SIPs | Dieser Ordner wird standardmässig angezeigt wenn ein SIP neu angelegt, geöffnet oder gespeichert wird | Der Ordner in dem sich Docupack befindet | Der 'home'-Ordner des aktuellen Benutzers |
backupDir | C:/Data/Backups | Der Ordner in dem die automatischen Backups gespeichert werden | Der Ordner der in <SIPDir> spezifiziert ist | Der 'home'-Ordner des aktuellen Benutzers |
templateDir | C:/Data/Templates | Der Ordner in dem die Vorlagen gespeichert werden | Der Ordner der in <SIPDir> spezifiziert ist | Wie leer |
tempDir | C:/Data/Temp | Der Ordner für temporäre Dateien | Es wird ein interner temporärer Ordner genommen | Wie leer |
versioning | true | Wenn true, wird bei jedem Speichervorgang die vorige Version als Backup im Ordner <backupDir> gespeichert. Wenn false, werden keine Backups erstellt und somit das Original-SIP jedesmal überschrieben | Wie true | Wie leer |
versioning.keepBackupsCount | 20 | Maximale Anzahl der angelegten Backups. Wenn die Anzahl der Backups diesen Wert überschreitet, werden die Backups ihrem Alter nach gelöscht | 10 | Wie leer |
openFullScreen | false | Wenn true, nimmt Docupack beim Start den gesamten Bildschirm ein. Wenn false, werden für die Fenstergrösse die beiden Werte <screenSize.x> und <screenSize.y> genommen | Wie false | Wie leer |
screenSize.x screenSize.y | 1200 1000 | Die Grösse des Docupack-Fensters in Pixeln. Diese Werte werden ignoriert, wenn <openFullScreen> = true ist | 1000×700 Pixel | Wie leer |
screenPos.x screenPos.y | 500 500 | Die Position des Docupack-Fensters beim Start. Diese Werte werden ignoriert, wenn <openFullScreen> = true ist | Zentriert | Wie leer |
useSystemLookAndFeel | false | Wenn true, wird das Aussehen von Docupack dem Fenstersystem des Computers angepasst. Wenn false, wird ein generisches Aussehen (“Metal”) gewählt | Wie false | Wie leer |
SA.getSAsFromServerOnStartup | false | Wenn true, wird die aktuelle Liste der SAs (Submission Agreements) von der in <SA.BASE.URL> eingetragenen Web-Adresse beim Start von Docupack runtergeladen. Wenn false, wird dies nicht gemacht | Wie false | Wie leer |
SA.BASE.URL | http://docuteam/sa | Die Web-Adresse von welcher manuell oder beim Start von Docupack (falls so eingestellt) die aktuellen SAs (Submission Agreements) runtergeladen werden | Es wird nichts runtergeladen | Wie leer |
OOConverter.path | C:/Programme | Der Ordner in dem sich die OpenOffice.org Applikation befindet, welche zum Anzeigen des Inhalts einiger Dateien benötigt wird | Es wird die interne OOO-Applikation genommen | Wie leer |
OOConverter.initializationRetries | 30 | Die Anzahl Versuche, OpenOffice.org Applikation zu initialisieren | 10 | Wie leer |
filePreviewer.cacheSizeLimit | 20 | Die Grösse des Zwischenspeichers für das Anzeigen des Inhaltes von Dateien | 10 | Wie leer |
openSystemOutViewOnOutput | true | Wenn true, wird beim Auftreten eines Fehlers das Fehlerfenster automatisch geöffnet. Wenn false, bleibt im Falle eines Fehlers das Fehlerfenster geschlossen | Wie true | Wie leer |
isDevMode | false | Sollte nur während der Entwicklung von Docupack auf true gesetzt werden | Wie false | Wie leer |
config/levels.xml
Beispiel
<?xml version="1.0" encoding="UTF-8"?> <LEVELS:Config xmlns:LEVELS="http://www.docuteam.ch/xmlns/levels" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.docuteam.ch/xmlns/levels levels.xsd"> <LEVELS:MetadataElements> <LEVELS:AllowedValuesSeparator>;</LEVELS:AllowedValuesSeparator> <LEVELS:MetadataElement accessorNameID="retentionPeriodBaseYear"/> <LEVELS:MetadataElement accessorNameID="accessRestriction"/> <LEVELS:MetadataElement accessorNameID="retentionPeriod"/> <LEVELS:MetadataElement accessorNameID="retentionPolicy"/> <LEVELS:MetadataElement accessorNameID="accessNr"/> <LEVELS:MetadataElement accessorNameID="reproductions"/> <LEVELS:MetadataElement accessorNameID="appraisalAndDestruction"/> <LEVELS:MetadataElement accessorNameID="arrangement"/> <LEVELS:MetadataElement accessorNameID="bibliography"/> <LEVELS:MetadataElement accessorNameID="institution"/> <LEVELS:MetadataElement accessorNameID="objectType"/> <LEVELS:MetadataElement accessorNameID="compartment"/> <LEVELS:MetadataElement accessorNameID="fundingSource"/> <LEVELS:MetadataElement accessorNameID="institute"/> <LEVELS:MetadataElement accessorNameID="journal"/> <LEVELS:MetadataElement accessorNameID="keyword"/> <LEVELS:MetadataElement accessorNameID="location"/> <LEVELS:MetadataElement accessorNameID="method"/> <LEVELS:MetadataElement accessorNameID="publisher"/> <LEVELS:MetadataElement accessorNameID="status"/> <LEVELS:MetadataElement accessorNameID="university"/> <LEVELS:MetadataElement accessorNameID="author"/> <LEVELS:MetadataElement accessorNameID="involved"/> <LEVELS:MetadataElement accessorNameID="responsible"/> <LEVELS:MetadataElement accessorNameID="staff"/> <LEVELS:MetadataElement accessorNameID="archivalHistory"/> <LEVELS:MetadataElement accessorNameID="PID"/> <LEVELS:MetadataElement accessorNameID="abstract"/> <LEVELS:MetadataElement accessorNameID="languageNotes"/> <LEVELS:MetadataElement accessorNameID="language"/> <LEVELS:MetadataElement accessorNameID="origination"/> <LEVELS:MetadataElement accessorNameID="extent"/> <LEVELS:MetadataElement accessorNameID="material"/> <LEVELS:MetadataElement accessorNameID="creationPeriod"/> <LEVELS:MetadataElement accessorNameID="creationPeriodNotes"/> <LEVELS:MetadataElement accessorNameID="fromYear"/> <LEVELS:MetadataElement accessorNameID="toYear"/> <LEVELS:MetadataElement accessorNameID="year"/> <LEVELS:MetadataElement accessorNameID="refCode"/> <LEVELS:MetadataElement accessorNameID="refCodeAdmin"/> <LEVELS:MetadataElement accessorNameID="refCodeOld"/> <LEVELS:MetadataElement accessorNameID="unitTitleAdditional"/> <LEVELS:MetadataElement accessorNameID="comment"/> <LEVELS:MetadataElement accessorNameID="doiJournal"/> <LEVELS:MetadataElement accessorNameID="project"/> <LEVELS:MetadataElement accessorNameID="projectAbbreviation"/> <LEVELS:MetadataElement accessorNameID="projectName"/> <LEVELS:MetadataElement accessorNameID="projectTitle"/> <LEVELS:MetadataElement accessorNameID="usage"/> <LEVELS:MetadataElement accessorNameID="locationOfOriginals"/> <LEVELS:MetadataElement accessorNameID="findingAids"/> <LEVELS:MetadataElement accessorNameID="characteristics"/> <LEVELS:MetadataElement accessorNameID="descriptionLevel"/> <LEVELS:MetadataElement accessorNameID="descriptionLevelNotes"/> <LEVELS:MetadataElement accessorNameID="revisions"/> <LEVELS:MetadataElement accessorNameID="descriptionRules"/> <LEVELS:MetadataElement accessorNameID="relatedMaterial"/> <LEVELS:MetadataElement accessorNameID="scopeContent"/> <LEVELS:MetadataElement accessorNameID="conditionsOfReproductions"/> </LEVELS:MetadataElements> <LEVELS:Levels> <!-- NOTE: The 1st element in this list always has to be the "undefined" level! --> <LEVELS:Level nameID="Undefined" iconFileName="resources/images/LevelUndefined.png" allowedSublevelNameRefs="Undefined"> <LEVELS:LevelMetadataElement accessorNameRef="retentionPeriodBaseYear" isMandatory="false" isRepeatable="true"/> <LEVELS:LevelMetadataElement accessorNameRef="accessRestriction" isMandatory="false" isRepeatable="true"/> <LEVELS:LevelMetadataElement accessorNameRef="retentionPeriod" isMandatory="false" isRepeatable="true"/> <LEVELS:LevelMetadataElement accessorNameRef="retentionPolicy" isMandatory="false" isRepeatable="true"/> <LEVELS:LevelMetadataElement accessorNameRef="accessNr" isMandatory="false" isRepeatable="true"/> <LEVELS:LevelMetadataElement accessorNameRef="reproductions" isMandatory="false" isRepeatable="true"/> <LEVELS:LevelMetadataElement accessorNameRef="appraisalAndDestruction" isMandatory="false" isRepeatable="true"/> <LEVELS:LevelMetadataElement accessorNameRef="arrangement" isMandatory="false" isRepeatable="true"/> <LEVELS:LevelMetadataElement accessorNameRef="bibliography" isMandatory="false" isRepeatable="true"/> <LEVELS:LevelMetadataElement accessorNameRef="institution" isMandatory="false" isRepeatable="true"/> <LEVELS:LevelMetadataElement accessorNameRef="objectType" isMandatory="false" isRepeatable="true"/> <LEVELS:LevelMetadataElement accessorNameRef="compartment" isMandatory="false" isRepeatable="true"/> <LEVELS:LevelMetadataElement accessorNameRef="fundingSource" isMandatory="false" isRepeatable="true"/> <LEVELS:LevelMetadataElement accessorNameRef="institute" isMandatory="false" isRepeatable="true"/> <LEVELS:LevelMetadataElement accessorNameRef="journal" isMandatory="false" isRepeatable="true"/> <LEVELS:LevelMetadataElement accessorNameRef="keyword" isMandatory="false" isRepeatable="true"/> <LEVELS:LevelMetadataElement accessorNameRef="location" isMandatory="false" isRepeatable="true"/> <LEVELS:LevelMetadataElement accessorNameRef="method" isMandatory="false" isRepeatable="true"/> <LEVELS:LevelMetadataElement accessorNameRef="publisher" isMandatory="false" isRepeatable="true"/> <LEVELS:LevelMetadataElement accessorNameRef="status" isMandatory="false" isRepeatable="true"/> <LEVELS:LevelMetadataElement accessorNameRef="university" isMandatory="false" isRepeatable="true"/> <LEVELS:LevelMetadataElement accessorNameRef="author" isMandatory="false" isRepeatable="true"/> <LEVELS:LevelMetadataElement accessorNameRef="involved" isMandatory="false" isRepeatable="true"/> <LEVELS:LevelMetadataElement accessorNameRef="responsible" isMandatory="false" isRepeatable="true"/> <LEVELS:LevelMetadataElement accessorNameRef="staff" isMandatory="false" isRepeatable="true"/> <LEVELS:LevelMetadataElement accessorNameRef="archivalHistory" isMandatory="false" isRepeatable="true"/> <LEVELS:LevelMetadataElement accessorNameRef="PID" isMandatory="false" isRepeatable="true"/> <LEVELS:LevelMetadataElement accessorNameRef="abstract" isMandatory="false" isRepeatable="true"/> <LEVELS:LevelMetadataElement accessorNameRef="languageNotes" isMandatory="false" isRepeatable="false"/> <LEVELS:LevelMetadataElement accessorNameRef="language" isMandatory="false" isRepeatable="true"/> <LEVELS:LevelMetadataElement accessorNameRef="origination" isMandatory="false" isRepeatable="true"/> <LEVELS:LevelMetadataElement accessorNameRef="extent" isMandatory="false" isRepeatable="true"/> <LEVELS:LevelMetadataElement accessorNameRef="material" isMandatory="false" isRepeatable="true"/> <LEVELS:LevelMetadataElement accessorNameRef="creationPeriod" isMandatory="false" isRepeatable="true"/> <LEVELS:LevelMetadataElement accessorNameRef="creationPeriodNotes" isMandatory="false" isRepeatable="true"/> <LEVELS:LevelMetadataElement accessorNameRef="fromYear" isMandatory="false" isRepeatable="true"/> <LEVELS:LevelMetadataElement accessorNameRef="toYear" isMandatory="false" isRepeatable="true"/> <LEVELS:LevelMetadataElement accessorNameRef="year" isMandatory="false" isRepeatable="true"/> <LEVELS:LevelMetadataElement accessorNameRef="refCode" isMandatory="false" isRepeatable="true"/> <LEVELS:LevelMetadataElement accessorNameRef="refCodeAdmin" isMandatory="false" isRepeatable="true"/> <LEVELS:LevelMetadataElement accessorNameRef="refCodeOld" isMandatory="false" isRepeatable="true"/> <LEVELS:LevelMetadataElement accessorNameRef="unitTitleAdditional" isMandatory="false" isRepeatable="true"/> <LEVELS:LevelMetadataElement accessorNameRef="comment" isMandatory="false" isRepeatable="true"/> <LEVELS:LevelMetadataElement accessorNameRef="doiJournal" isMandatory="false" isRepeatable="true"/> <LEVELS:LevelMetadataElement accessorNameRef="project" isMandatory="false" isRepeatable="true"/> <LEVELS:LevelMetadataElement accessorNameRef="projectAbbreviation" isMandatory="false" isRepeatable="true"/> <LEVELS:LevelMetadataElement accessorNameRef="projectName" isMandatory="false" isRepeatable="true"/> <LEVELS:LevelMetadataElement accessorNameRef="projectTitle" isMandatory="false" isRepeatable="true"/> <LEVELS:LevelMetadataElement accessorNameRef="usage" isMandatory="false" isRepeatable="true"/> <LEVELS:LevelMetadataElement accessorNameRef="locationOfOriginals" isMandatory="false" isRepeatable="true"/> <LEVELS:LevelMetadataElement accessorNameRef="findingAids" isMandatory="false" isRepeatable="true"/> <LEVELS:LevelMetadataElement accessorNameRef="characteristics" isMandatory="false" isRepeatable="true"/> <LEVELS:LevelMetadataElement accessorNameRef="descriptionLevel" isMandatory="false" isRepeatable="true"/> <LEVELS:LevelMetadataElement accessorNameRef="descriptionLevelNotes" isMandatory="false" isRepeatable="true"/> <LEVELS:LevelMetadataElement accessorNameRef="revisions" isMandatory="false" isRepeatable="true"/> <LEVELS:LevelMetadataElement accessorNameRef="descriptionRules" isMandatory="false" isRepeatable="true"/> <LEVELS:LevelMetadataElement accessorNameRef="relatedMaterial" isMandatory="false" isRepeatable="true"/> <LEVELS:LevelMetadataElement accessorNameRef="scopeContent" isMandatory="false" isRepeatable="true"/> <LEVELS:LevelMetadataElement accessorNameRef="conditionsOfReproductions" isMandatory="false" isRepeatable="true"/> </LEVELS:Level> </LEVELS:Levels> </LEVELS:Config>
In der ersten Sektion von levels.xml (<LEVELS:MetadataElements>) werden alle zur Verfügung stehenden Metadaten-Elemente definiert.
In der zweiten Sektion von levels.xml (<LEVELS:Levels>) werden die Verzeichnungsebenen sowie die Zuweisung von Metadaten-Elementen zu diesen Verzeichnungsebenen definiert.
Metadaten-Elemente
Ein Metadaten-Element wird durch folgende vier Attribute definiert:
Name | Inhalt (Beispiel) | Erklärung | Obligatorisch |
---|---|---|---|
accessorNameId | accessNr | Der eindeutige Name des Metadatenfelds. Diese müssen den unten ersichtlichen Akzessoren entsprechen, mit welchen in Docupack auf die Daten zugegriffen wird. Über die i18n-Konfiguration kann im Bedarfsfall einem Metadaten-Feld ein individuelles Label zugewiesen werden. | * |
defaultExpression | 'new java.text.SimpleDateFormat(„yyyy-MM-dd“).format(new java.util.Date())' oder '((ch.docuteam.docudarc.mets.structmap.NodeAbstract)object).getMimeType()' | Ein Java-Ausdruck um dieses Feld beim Erstellen zu initialisieren. Der aktuelle Knoten wird referenziert durch: '(ch.docuteam.docudarc.mets.structmap.NodeAbstract)object'. | |
validatorClassName | ch.docuteam.docudarc.mdconfig.MetadataElementValidatorDate | Eine Java-Klasse die den Inhalt dieses Metadaten-Elementes beim Setzen validiert. Falls die Validierung den eingegebenen Wert nicht erlaubt, wird eine Fehlermeldung angezeigt und das Feld wieder mit dem vorigen Wert gefüllt | |
allowedValues | Deutsch;English;Français;Italiano | Eine Liste von Werten die in Docupack als DropDown-Liste dargestellt wird. Ist das erste Element dieser liste ein Asterisk „*“, dann können ausser den Listenelementen auch beliebige andere Begriffe eingegeben werden |
Ein Beispiel:
<LEVELS:MetadataElement accessorNameID="retentionPolicy" defaultExpression='"Confidential"' allowedValues="OpenAccess;EmbargoPeriod30Years;EmbargoPeriod50Years;Confidential"/>
Mit dem Element <LEVELS:AllowedValuesSeparator> kann der Separator der allowedValues-Liste eingestellt werden. Dieser kann auch aus mehreren Buchstaben bestehen, z.B.:
<LEVELS:MetadataElements> <LEVELS:AllowedValuesSeparator>::</LEVELS:AllowedValuesSeparator> <LEVELS:MetadataElement accessorNameID="language" allowedValues="Deutsch::English::Français::Italiano"/>
Verzeichnungsebenen
Eine Verzeichnungsebene wird durch folgende drei Attribute definiert:
Name | Inhalt (Beispiel) | Erklärung | Obligatorisch |
---|---|---|---|
nameID | Archiv | Der eindeutige Name dieser Verzeichnungsebene | * |
iconFileName | resources/images/LevelSerie.png | Der Pfad zur Icon-Datei dieser Ebene. Wenn diese Datei nicht existiert, wird ein gelbes Warn-Icon angezeigt | * |
allowedSublevelNameRefs | Abteilung Bestand Undefiniert | Die Liste der für diese Verzeichnungsebene erlaubten Unterebenen. Die Elemente dieser Liste müssen in dieser Datei spezifiziert sein (als nameID) und durch ein Leerzeichen getrennt werden. Das Erste Element dieser Liste wird bei neuen Unterelementen als Standardebene gesetzt |
Ein Beispiel:
<LEVELS:Level nameID="Archiv" iconFileName="resources/images/LevelSerie.png" allowedSublevelNameRefs="Abteilung Bestand Undefiniert">
Die Zuweisung von Metadaten-Elementen zu Verzeichnungsebenen wird durch eine Liste von Elementen <LEVELS:LevelMetadataElement> definiert. Dieses Element enthält folgende 7 Attribute:
Name | Inhalt (Beispiel) | Erklärung | Obligatorisch |
---|---|---|---|
accessorNameRef | language | Die accessorNameID des Metadaten-Elementes; referenziert eine accessorNameID aus der Liste der <LEVELS:MetadataElements> (siehe oben). | * |
isMandatory | true | Wenn true, ist dieses Metadaten-Element obligatorisch. Obligatorische Elemente werden immer in der Metadaten-Liste angezeigt. Wenn ein obligatorisches Element leer ist, wird das Dossier mit einem Ausrufezeichen markiert | * |
isRepeatable | false | Wenn true, können mehrere Exemplare dieses Metadaten-Elementes in der Metadaten-Liste vorhanden sein | * |
isAlwaysDisplayed | true | Wenn true, wird dieses Metadaten-Element immer in der Metadaten-Liste angezeigt | |
isReadOnly | false | Wenn true, kann dieses Metadaten-Element manuell nicht geändert werden. Ist eine „defaultExpression“ angegeben, wird es beim Erstellen damit initialisiert | |
keepInTemplate | false | Wenn true, wird dieses Metadaten-Element beim Erstellen einer Vorlage nicht gelöscht | |
displayRows | 5 | Gibt die Anzahl der Zeilen bei der Darstellung dieses Metadaten-Elementes in der Metadaten-Liste an |
Ein Beispiel:
<LEVELS:LevelMetadataElement accessorNameRef="PID" isMandatory="false" isRepeatable="false" isAlwaysDisplayed="true" isReadOnly="true"/>
Abbildung der beschreibenden Metadaten als Encoded Archival Description (EAD)
Alle beschreibenden Metadaten werden unter Verwendung des EAD-Schemas innerhalb der Datei mets.xml gespeichert. Welche EAD-Elemente verwendet werden, wird aus der folgenden Tabelle ersichtlich:
Download MetadataToXPathMapping_2.0.xlsx
AccessorNameID | Xpath relative to a <c> or <archdesc> element | is dynamic | is static | ISAD(G) | Comment |
---|---|---|---|---|---|
unitTitle | EAD:did/EAD:unittitle[@label = 'main'] | * | 3.1.2 | ||
level | [@level = 'otherlevel']/@otherlevel | * | 3.1.4 | Stored in attribute „@otherlevel“ | |
abstract | EAD:did/EAD:abstract | * | |||
accessNr | EAD:acqinfo/EAD:p | * | 3.2.4 | ||
accessRestriction | EAD:accessrestrict[@type = 'restrictions']/EAD:p | * | 3.4.1 | ||
appraisalAndDestruction | EAD:appraisal/EAD:p | * | 3.3.2 | ||
archivalHistory | EAD:custodhist/EAD:p | * | 3.2.3 | ||
arrangement | EAD:arrangement/EAD:p | * | 3.3.4 | ||
author | EAD:controlaccess/EAD:persname[@role = 'author'] | * | |||
bibliography | EAD:bibliography/EAD:p | * | 3.5.4 | ||
characteristics | EAD:phystech/EAD:p | * | 3.4.4 | ||
comment | EAD:note/EAD:p | * | 3.6 | ||
compartment | EAD:controlaccess/EAD:name[@role = 'compartment'] | * | |||
conditionsOfReproductions | EAD:userestrict/EAD:p | * | 3.4.2 | ||
creationPeriod | EAD:did/EAD:unitdate[@label = 'creationPeriod'] | * | |||
creationPeriodNotes | EAD:did/EAD:unitdate[@label = 'creationPeriodNotes'] | * | |||
descriptionLevel | EAD:processinfo[@type = 'level']/EAD:p | * | |||
descriptionLevelNotes | EAD:processinfo[@type = 'levelNotes']/EAD:p | * | |||
descriptionRules | EAD:processinfo[@type = 'rules']/EAD:p | * | 3.7.2 | ||
doiJournal | EAD:odd[@type = 'doiJournal']/EAD:p | * | |||
extent | EAD:did/EAD:physdesc/EAD:extent | * | 3.1.5 | ||
findingAids | EAD:otherfindaid/EAD:p | * | 3.4.5 | ||
fromYear | EAD:did/EAD:unitdate[@label = 'fromYear'] | * | 3.1.3 | ||
fundingSource | EAD:controlaccess/EAD:name[@role = 'fundingSource'] | * | |||
institute | EAD:controlaccess/EAD:name[@role = 'institute'] | * | |||
institution | EAD:controlaccess/EAD:corpname | * | |||
involved | EAD:controlaccess/EAD:persname[@role = 'involved'] | * | |||
journal | EAD:controlaccess/EAD:name[@role = 'journal'] | * | |||
keyword | EAD:controlaccess/EAD:name[@role = 'keyword'] | * | |||
language | EAD:did/EAD:langmaterial/EAD:language | * | 3.4.3 | ||
languageNotes | EAD:did/EAD:langmaterial | * | |||
location | EAD:controlaccess/EAD:name[@role = 'location'] | * | |||
locationOfOriginals | EAD:originalsloc/EAD:p | * | 3.5.1 | ||
material | EAD:did/EAD:physdesc/EAD:physfacet | * | 3.1.5 | ||
method | EAD:controlaccess/EAD:name[@role = 'method'] | * | |||
objectType | EAD:controlaccess/EAD:genreform | * | |||
origination | EAD:did/EAD:origination | * | |||
PID | EAD:dao[@xlink:role = 'simple']/@xlink:href | * | Stored in attribute „@xlink:role“ | ||
project | EAD:odd[@type = 'project']/EAD:p | * | |||
projectAbbreviation | EAD:odd[@type = 'projectAbbreviation']/EAD:p | * | |||
projectName | EAD:odd[@type = 'projectName']/EAD:p | * | |||
projectTitle | EAD:odd[@type = 'projectTitle']/EAD:p | * | |||
publisher | EAD:controlaccess/EAD:name[@role = 'publisher'] | * | |||
refCode | EAD:did/EAD:unitid[@type = 'refCode'] | * | 3.1.1 | ||
refCodeAdmin | EAD:did/EAD:unitid[@type = 'refCodeAdmin'] | * | |||
refCodeOld | EAD:did/EAD:unitid[@type = 'refCodeOld'] | * | |||
relatedMaterial | EAD:relatedmaterial/EAD:p | * | 3.5.3 | ||
reproductions | EAD:altformavail/EAD:p | * | 3.5.2 | ||
responsible | EAD:controlaccess/EAD:persname[@role = 'responsible'] | * | |||
retentionPeriod | EAD:accessrestrict[@type = 'retentionPeriod']/EAD:p | * | |||
retentionPeriodBaseYear | EAD:accessrestrict[@type = 'baseYear']/EAD:p | * | |||
retentionPolicy | EAD:accessrestrict[@type = 'retentionPolicy']/EAD:p | * | |||
revisions | EAD:processinfo[@type = 'revisions']/EAD:p | * | |||
scopeContent | EAD:scopecontent/EAD:p | * | 3.3.1 | ||
staff | EAD:controlaccess/EAD:persname[@role = 'staff'] | * | |||
status | EAD:controlaccess/EAD:name[@role = 'status'] | * | |||
toYear | EAD:did/EAD:unitdate[@label = 'toYear'] | * | 3.1.3 | ||
unitTitleAdditional | EAD:did/EAD:unittitle[@label = 'additional'] | * | |||
university | EAD:controlaccess/EAD:name[@role = 'university'] | * | |||
usage | EAD:odd[@type = 'usage']/EAD:p | * | |||
year | EAD:did/EAD:unitdate[@label = 'year'] | * |