Skip to content

Commit d671b77

Browse files
committed
Adds SIARDDK1007Ext modules to support PDF lobs in SIARDDK1007s
1 parent 5e500c6 commit d671b77

41 files changed

Lines changed: 7509 additions & 5 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Lines changed: 56 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,56 @@
1+
<?xml version="1.0"?>
2+
<project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3+
xmlns="http://maven.apache.org/POM/4.0.0"
4+
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
5+
<modelVersion>4.0.0</modelVersion>
6+
<name>dbptk-bindings-siarddk-1007-ext</name>
7+
<dependencies>
8+
<dependency>
9+
<groupId>jakarta.xml.bind</groupId>
10+
<artifactId>jakarta.xml.bind-api</artifactId>
11+
<version>4.0.2</version>
12+
<scope>compile</scope>
13+
</dependency>
14+
</dependencies>
15+
<artifactId>dbptk-bindings-siarddk-1007-ext</artifactId>
16+
<version>2.1.0</version>
17+
<parent>
18+
<groupId>com.databasepreservation</groupId>
19+
<artifactId>dbptk-bindings</artifactId>
20+
<version>2.1.0</version>
21+
<relativePath>..</relativePath>
22+
</parent>
23+
<properties>
24+
<packagename>siard_dk_1007_ext</packagename>
25+
</properties>
26+
<build>
27+
<plugins>
28+
<plugin>
29+
<groupId>org.apache.maven.plugins</groupId>
30+
<artifactId>maven-compiler-plugin</artifactId>
31+
<version>3.12.1</version>
32+
<configuration>
33+
<source>${version.java}</source>
34+
<target>${version.java}</target>
35+
<encoding>UTF-8</encoding>
36+
</configuration>
37+
</plugin>
38+
<plugin>
39+
<groupId>org.apache.maven.plugins</groupId>
40+
<artifactId>maven-resources-plugin</artifactId>
41+
<configuration>
42+
<encoding>UTF-8</encoding>
43+
</configuration>
44+
</plugin>
45+
<plugin>
46+
<groupId>org.jvnet.jaxb</groupId>
47+
<artifactId>jaxb-maven-plugin</artifactId>
48+
</plugin>
49+
<plugin>
50+
<groupId>org.apache.maven.plugins</groupId>
51+
<artifactId>maven-install-plugin</artifactId>
52+
<version>2.5.2</version>
53+
</plugin>
54+
</plugins>
55+
</build>
56+
</project>
Lines changed: 88 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,88 @@
1+
/**
2+
* The contents of this file are subject to the license and copyright
3+
* detailed in the LICENSE file at the root of the source
4+
* tree and available online at
5+
*
6+
* https://github.com/keeps/db-preservation-toolkit
7+
*/
8+
//
9+
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.11
10+
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
11+
// Any modifications to this file will be lost upon recompilation of the source schema.
12+
// Generated on: 2016.09.21 at 01:40:35 PM CEST
13+
//
14+
15+
package dk.sa.xmlns.diark._1_0_ext.docindex;
16+
17+
import java.util.ArrayList;
18+
import java.util.List;
19+
20+
import jakarta.xml.bind.annotation.XmlAccessType;
21+
import jakarta.xml.bind.annotation.XmlAccessorType;
22+
import jakarta.xml.bind.annotation.XmlElement;
23+
import jakarta.xml.bind.annotation.XmlRootElement;
24+
import jakarta.xml.bind.annotation.XmlType;
25+
26+
/**
27+
* Index for all documents in the information package
28+
*
29+
* <p>
30+
* Java class for docIndexType complex type.
31+
*
32+
* <p>
33+
* The following schema fragment specifies the expected content contained within
34+
* this class.
35+
*
36+
* <pre>
37+
* &lt;complexType name="docIndexType"&gt;
38+
* &lt;complexContent&gt;
39+
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
40+
* &lt;sequence&gt;
41+
* &lt;element name="doc" type="{http://www.sa.dk/xmlns/diark/1.0}documentType" maxOccurs="unbounded"/&gt;
42+
* &lt;/sequence&gt;
43+
* &lt;/restriction&gt;
44+
* &lt;/complexContent&gt;
45+
* &lt;/complexType&gt;
46+
* </pre>
47+
*
48+
*
49+
*/
50+
@XmlAccessorType(XmlAccessType.FIELD)
51+
@XmlType(name = "docIndexType", propOrder = {"doc"})
52+
@XmlRootElement(name = "docIndex")
53+
public class DocIndexType {
54+
55+
@XmlElement(required = true)
56+
protected List<DocumentType> doc;
57+
58+
/**
59+
* Gets the value of the doc property.
60+
*
61+
* <p>
62+
* This accessor method returns a reference to the live list, not a snapshot.
63+
* Therefore any modification you make to the returned list will be present
64+
* inside the JAXB object. This is why there is not a <CODE>set</CODE> method
65+
* for the doc property.
66+
*
67+
* <p>
68+
* For example, to add a new item, do as follows:
69+
*
70+
* <pre>
71+
* getDoc().add(newItem);
72+
* </pre>
73+
*
74+
*
75+
* <p>
76+
* Objects of the following type(s) are allowed in the list {@link DocumentType
77+
* }
78+
*
79+
*
80+
*/
81+
public List<DocumentType> getDoc() {
82+
if (doc == null) {
83+
doc = new ArrayList<DocumentType>();
84+
}
85+
return this.doc;
86+
}
87+
88+
}
Lines changed: 230 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,230 @@
1+
/**
2+
* The contents of this file are subject to the license and copyright
3+
* detailed in the LICENSE file at the root of the source
4+
* tree and available online at
5+
*
6+
* https://github.com/keeps/db-preservation-toolkit
7+
*/
8+
//
9+
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.11
10+
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
11+
// Any modifications to this file will be lost upon recompilation of the source schema.
12+
// Generated on: 2016.09.21 at 01:40:35 PM CEST
13+
//
14+
15+
package dk.sa.xmlns.diark._1_0_ext.docindex;
16+
17+
import java.math.BigInteger;
18+
19+
import jakarta.xml.bind.JAXBElement;
20+
import jakarta.xml.bind.annotation.XmlAccessType;
21+
import jakarta.xml.bind.annotation.XmlAccessorType;
22+
import jakarta.xml.bind.annotation.XmlElement;
23+
import jakarta.xml.bind.annotation.XmlElementRef;
24+
import jakarta.xml.bind.annotation.XmlSchemaType;
25+
import jakarta.xml.bind.annotation.XmlType;
26+
import jakarta.xml.bind.annotation.adapters.NormalizedStringAdapter;
27+
import jakarta.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
28+
29+
/**
30+
* A type for a document
31+
*
32+
* <p>
33+
* Java class for documentType complex type.
34+
*
35+
* <p>
36+
* The following schema fragment specifies the expected content contained within
37+
* this class.
38+
*
39+
* <pre>
40+
* &lt;complexType name="documentType"&gt;
41+
* &lt;complexContent&gt;
42+
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
43+
* &lt;sequence&gt;
44+
* &lt;element name="dID" type="{http://www.sa.dk/xmlns/diark/1.0}documentIDType"/&gt;
45+
* &lt;element name="pID" type="{http://www.sa.dk/xmlns/diark/1.0}documentIDType" minOccurs="0"/&gt;
46+
* &lt;element name="mID" type="{http://www.sa.dk/xmlns/diark/1.0}mediaIDType"/&gt;
47+
* &lt;element name="dCf" type="{http://www.sa.dk/xmlns/diark/1.0}dCfType"/&gt;
48+
* &lt;element name="oFn" type="{http://www.w3.org/2001/XMLSchema}normalizedString"/&gt;
49+
* &lt;element name="aFt" type="{http://www.sa.dk/xmlns/diark/1.0}archivalFileType"/&gt;
50+
* &lt;element name="gmlXsd" type="{http://www.sa.dk/xmlns/diark/1.0}gmlXsdType" minOccurs="0"/&gt;
51+
* &lt;/sequence&gt;
52+
* &lt;/restriction&gt;
53+
* &lt;/complexContent&gt;
54+
* &lt;/complexType&gt;
55+
* </pre>
56+
*
57+
*
58+
*/
59+
@XmlAccessorType(XmlAccessType.FIELD)
60+
@XmlType(name = "documentType", propOrder = {"did", "pid", "mid", "dCf", "oFn", "aFt", "gmlXsd"})
61+
public class DocumentType {
62+
63+
@XmlElement(name = "dID", required = true)
64+
@XmlSchemaType(name = "positiveInteger")
65+
protected BigInteger did;
66+
@XmlElementRef(name = "pID", namespace = "http://www.sa.dk/xmlns/diark/1.0", type = JAXBElement.class, required = false)
67+
protected JAXBElement<BigInteger> pid;
68+
@XmlElement(name = "mID", required = true)
69+
@XmlSchemaType(name = "positiveInteger")
70+
protected BigInteger mid;
71+
@XmlElement(required = true)
72+
protected String dCf;
73+
@XmlElement(required = true)
74+
@XmlJavaTypeAdapter(NormalizedStringAdapter.class)
75+
@XmlSchemaType(name = "normalizedString")
76+
protected String oFn;
77+
@XmlElement(required = true)
78+
protected String aFt;
79+
protected String gmlXsd;
80+
81+
/**
82+
* Gets the value of the did property.
83+
*
84+
* @return possible object is {@link BigInteger }
85+
*
86+
*/
87+
public BigInteger getDID() {
88+
return did;
89+
}
90+
91+
/**
92+
* Sets the value of the did property.
93+
*
94+
* @param value
95+
* allowed object is {@link BigInteger }
96+
*
97+
*/
98+
public void setDID(BigInteger value) {
99+
this.did = value;
100+
}
101+
102+
/**
103+
* Gets the value of the pid property.
104+
*
105+
* @return possible object is {@link JAXBElement }{@code <}{@link BigInteger }
106+
* {@code >}
107+
*
108+
*/
109+
public JAXBElement<BigInteger> getPID() {
110+
return pid;
111+
}
112+
113+
/**
114+
* Sets the value of the pid property.
115+
*
116+
* @param value
117+
* allowed object is {@link JAXBElement }{@code <}{@link BigInteger }
118+
* {@code >}
119+
*
120+
*/
121+
public void setPID(JAXBElement<BigInteger> value) {
122+
this.pid = value;
123+
}
124+
125+
/**
126+
* Gets the value of the mid property.
127+
*
128+
* @return possible object is {@link BigInteger }
129+
*
130+
*/
131+
public BigInteger getMID() {
132+
return mid;
133+
}
134+
135+
/**
136+
* Sets the value of the mid property.
137+
*
138+
* @param value
139+
* allowed object is {@link BigInteger }
140+
*
141+
*/
142+
public void setMID(BigInteger value) {
143+
this.mid = value;
144+
}
145+
146+
/**
147+
* Gets the value of the dCf property.
148+
*
149+
* @return possible object is {@link String }
150+
*
151+
*/
152+
public String getDCf() {
153+
return dCf;
154+
}
155+
156+
/**
157+
* Sets the value of the dCf property.
158+
*
159+
* @param value
160+
* allowed object is {@link String }
161+
*
162+
*/
163+
public void setDCf(String value) {
164+
this.dCf = value;
165+
}
166+
167+
/**
168+
* Gets the value of the oFn property.
169+
*
170+
* @return possible object is {@link String }
171+
*
172+
*/
173+
public String getOFn() {
174+
return oFn;
175+
}
176+
177+
/**
178+
* Sets the value of the oFn property.
179+
*
180+
* @param value
181+
* allowed object is {@link String }
182+
*
183+
*/
184+
public void setOFn(String value) {
185+
this.oFn = value;
186+
}
187+
188+
/**
189+
* Gets the value of the aFt property.
190+
*
191+
* @return possible object is {@link String }
192+
*
193+
*/
194+
public String getAFt() {
195+
return aFt;
196+
}
197+
198+
/**
199+
* Sets the value of the aFt property.
200+
*
201+
* @param value
202+
* allowed object is {@link String }
203+
*
204+
*/
205+
public void setAFt(String value) {
206+
this.aFt = value;
207+
}
208+
209+
/**
210+
* Gets the value of the gmlXsd property.
211+
*
212+
* @return possible object is {@link String }
213+
*
214+
*/
215+
public String getGmlXsd() {
216+
return gmlXsd;
217+
}
218+
219+
/**
220+
* Sets the value of the gmlXsd property.
221+
*
222+
* @param value
223+
* allowed object is {@link String }
224+
*
225+
*/
226+
public void setGmlXsd(String value) {
227+
this.gmlXsd = value;
228+
}
229+
230+
}

0 commit comments

Comments
 (0)