eu.europa.esig.dss.diagnostic.jaxb.XmlDiagnosticData Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of dss-diagnostic-jaxb Show documentation
Show all versions of dss-diagnostic-jaxb Show documentation
Generated source from XSD for Diagnostic Data.
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.3.0
// See https://javaee.github.io/jaxb-v2/
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2021.10.20 at 09:59:47 AM EEST
//
package eu.europa.esig.dss.diagnostic.jaxb;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlElementWrapper;
import javax.xml.bind.annotation.XmlSchemaType;
import javax.xml.bind.annotation.XmlType;
import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
/**
* Java class for DiagnosticData complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="DiagnosticData">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="DocumentName" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="ValidationDate" type="{http://www.w3.org/2001/XMLSchema}dateTime"/>
* <element name="ContainerInfo" type="{http://dss.esig.europa.eu/validation/diagnostic}ContainerInfo" minOccurs="0"/>
* <element name="Signatures" minOccurs="0">
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="Signature" type="{http://dss.esig.europa.eu/validation/diagnostic}Signature" maxOccurs="unbounded" minOccurs="0"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </element>
* <element name="UsedCertificates" minOccurs="0">
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="Certificate" type="{http://dss.esig.europa.eu/validation/diagnostic}Certificate" maxOccurs="unbounded" minOccurs="0"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </element>
* <element name="UsedRevocations" minOccurs="0">
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="Revocation" type="{http://dss.esig.europa.eu/validation/diagnostic}Revocation" maxOccurs="unbounded" minOccurs="0"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </element>
* <element name="UsedTimestamps" minOccurs="0">
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="Timestamp" type="{http://dss.esig.europa.eu/validation/diagnostic}Timestamp" maxOccurs="unbounded" minOccurs="0"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </element>
* <element name="OrphanTokens" minOccurs="0">
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="OrphanCertificate" type="{http://dss.esig.europa.eu/validation/diagnostic}OrphanCertificateToken" maxOccurs="unbounded" minOccurs="0"/>
* <element name="OrphanRevocation" type="{http://dss.esig.europa.eu/validation/diagnostic}OrphanRevocationToken" maxOccurs="unbounded" minOccurs="0"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </element>
* <element name="OriginalDocuments" minOccurs="0">
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="SignerData" type="{http://dss.esig.europa.eu/validation/diagnostic}SignerData" maxOccurs="unbounded" minOccurs="0"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </element>
* <element name="TrustedLists" minOccurs="0">
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="TrustedList" type="{http://dss.esig.europa.eu/validation/diagnostic}TrustedList" maxOccurs="unbounded" minOccurs="0"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </element>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "DiagnosticData", propOrder = {
"documentName",
"validationDate",
"containerInfo",
"signatures",
"usedCertificates",
"usedRevocations",
"usedTimestamps",
"orphanTokens",
"originalDocuments",
"trustedLists"
})
public class XmlDiagnosticData implements Serializable
{
private final static long serialVersionUID = 1L;
@XmlElement(name = "DocumentName")
protected String documentName;
@XmlElement(name = "ValidationDate", required = true, type = String.class)
@XmlJavaTypeAdapter(Adapter1 .class)
@XmlSchemaType(name = "dateTime")
protected Date validationDate;
@XmlElement(name = "ContainerInfo")
protected XmlContainerInfo containerInfo;
@XmlElementWrapper(name = "Signatures")
@XmlElement(name = "Signature", namespace = "http://dss.esig.europa.eu/validation/diagnostic")
protected List signatures;
@XmlElementWrapper(name = "UsedCertificates")
@XmlElement(name = "Certificate", namespace = "http://dss.esig.europa.eu/validation/diagnostic")
protected List usedCertificates;
@XmlElementWrapper(name = "UsedRevocations")
@XmlElement(name = "Revocation", namespace = "http://dss.esig.europa.eu/validation/diagnostic")
protected List usedRevocations;
@XmlElementWrapper(name = "UsedTimestamps")
@XmlElement(name = "Timestamp", namespace = "http://dss.esig.europa.eu/validation/diagnostic")
protected List usedTimestamps;
@XmlElement(name = "OrphanTokens")
protected XmlOrphanTokens orphanTokens;
@XmlElementWrapper(name = "OriginalDocuments")
@XmlElement(name = "SignerData", namespace = "http://dss.esig.europa.eu/validation/diagnostic")
protected List originalDocuments;
@XmlElementWrapper(name = "TrustedLists")
@XmlElement(name = "TrustedList", namespace = "http://dss.esig.europa.eu/validation/diagnostic")
protected List trustedLists;
/**
* Gets the value of the documentName property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getDocumentName() {
return documentName;
}
/**
* Sets the value of the documentName property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setDocumentName(String value) {
this.documentName = value;
}
/**
* Gets the value of the validationDate property.
*
* @return
* possible object is
* {@link String }
*
*/
public Date getValidationDate() {
return validationDate;
}
/**
* Sets the value of the validationDate property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setValidationDate(Date value) {
this.validationDate = value;
}
/**
* Gets the value of the containerInfo property.
*
* @return
* possible object is
* {@link XmlContainerInfo }
*
*/
public XmlContainerInfo getContainerInfo() {
return containerInfo;
}
/**
* Sets the value of the containerInfo property.
*
* @param value
* allowed object is
* {@link XmlContainerInfo }
*
*/
public void setContainerInfo(XmlContainerInfo value) {
this.containerInfo = value;
}
/**
* Gets the value of the orphanTokens property.
*
* @return
* possible object is
* {@link XmlOrphanTokens }
*
*/
public XmlOrphanTokens getOrphanTokens() {
return orphanTokens;
}
/**
* Sets the value of the orphanTokens property.
*
* @param value
* allowed object is
* {@link XmlOrphanTokens }
*
*/
public void setOrphanTokens(XmlOrphanTokens value) {
this.orphanTokens = value;
}
public List getSignatures() {
if (signatures == null) {
signatures = new ArrayList();
}
return signatures;
}
public void setSignatures(List signatures) {
this.signatures = signatures;
}
public List getUsedCertificates() {
if (usedCertificates == null) {
usedCertificates = new ArrayList();
}
return usedCertificates;
}
public void setUsedCertificates(List usedCertificates) {
this.usedCertificates = usedCertificates;
}
public List getUsedRevocations() {
if (usedRevocations == null) {
usedRevocations = new ArrayList();
}
return usedRevocations;
}
public void setUsedRevocations(List usedRevocations) {
this.usedRevocations = usedRevocations;
}
public List getUsedTimestamps() {
if (usedTimestamps == null) {
usedTimestamps = new ArrayList();
}
return usedTimestamps;
}
public void setUsedTimestamps(List usedTimestamps) {
this.usedTimestamps = usedTimestamps;
}
public List getOriginalDocuments() {
if (originalDocuments == null) {
originalDocuments = new ArrayList();
}
return originalDocuments;
}
public void setOriginalDocuments(List originalDocuments) {
this.originalDocuments = originalDocuments;
}
public List getTrustedLists() {
if (trustedLists == null) {
trustedLists = new ArrayList();
}
return trustedLists;
}
public void setTrustedLists(List trustedLists) {
this.trustedLists = trustedLists;
}
}