eu.europa.esig.dss.jaxb.diagnostic.DiagnosticData 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.2.7
// See http://java.sun.com/xml/jaxb
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2017.05.29 at 09:26:39 AM CEST
//
package eu.europa.esig.dss.jaxb.diagnostic;
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.XmlRootElement;
import javax.xml.bind.annotation.XmlSchemaType;
import javax.xml.bind.annotation.XmlType;
import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
/**
* Java class for anonymous complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="DocumentName" type="{http://www.w3.org/2001/XMLSchema}string"/>
* <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="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>
* <element name="ListOfTrustedLists" type="{http://dss.esig.europa.eu/validation/diagnostic}TrustedList" minOccurs="0"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"documentName",
"validationDate",
"containerInfo",
"signatures",
"usedCertificates",
"trustedLists",
"listOfTrustedLists"
})
@XmlRootElement(name = "DiagnosticData")
public class DiagnosticData {
@XmlElement(name = "DocumentName", required = true)
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 = "TrustedLists")
@XmlElement(name = "TrustedList", namespace = "http://dss.esig.europa.eu/validation/diagnostic")
protected List trustedLists;
@XmlElement(name = "ListOfTrustedLists")
protected XmlTrustedList listOfTrustedLists;
/**
* 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 listOfTrustedLists property.
*
* @return
* possible object is
* {@link XmlTrustedList }
*
*/
public XmlTrustedList getListOfTrustedLists() {
return listOfTrustedLists;
}
/**
* Sets the value of the listOfTrustedLists property.
*
* @param value
* allowed object is
* {@link XmlTrustedList }
*
*/
public void setListOfTrustedLists(XmlTrustedList value) {
this.listOfTrustedLists = 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 getTrustedLists() {
if (trustedLists == null) {
trustedLists = new ArrayList();
}
return trustedLists;
}
public void setTrustedLists(List trustedLists) {
this.trustedLists = trustedLists;
}
}