// // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.7 // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> // Any modifications to this file will be lost upon recompilation of the source schema. // Generated on: 2017.01.26 at 09:19:39 AM CET // 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.XmlAttribute; 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; /** * <p>Java class for Revocation complex type. * * <p>The following schema fragment specifies the expected content contained within this class. * * <pre> * <complexType name="Revocation"> * <complexContent> * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> * <sequence> * <element name="Origin" type="{http://www.w3.org/2001/XMLSchema}string"/> * <element name="Source" type="{http://www.w3.org/2001/XMLSchema}string"/> * <element name="SourceAddress" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> * <element name="Available" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/> * <element name="Status" type="{http://www.w3.org/2001/XMLSchema}boolean"/> * <element name="Reason" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> * <element name="ProductionDate" type="{http://www.w3.org/2001/XMLSchema}dateTime" minOccurs="0"/> * <element name="ThisUpdate" type="{http://www.w3.org/2001/XMLSchema}dateTime" minOccurs="0"/> * <element name="NextUpdate" type="{http://www.w3.org/2001/XMLSchema}dateTime" minOccurs="0"/> * <element name="RevocationDate" type="{http://www.w3.org/2001/XMLSchema}dateTime" minOccurs="0"/> * <element name="ExpiredCertsOnCRL" type="{http://www.w3.org/2001/XMLSchema}dateTime" minOccurs="0"/> * <element name="ArchiveCutOff" type="{http://www.w3.org/2001/XMLSchema}dateTime" minOccurs="0"/> * <element name="DigestAlgoAndValues" type="{http://dss.esig.europa.eu/validation/diagnostic}DigestAlgoAndValues" minOccurs="0"/> * <element name="BasicSignature" type="{http://dss.esig.europa.eu/validation/diagnostic}BasicSignature" minOccurs="0"/> * <element name="SigningCertificate" type="{http://dss.esig.europa.eu/validation/diagnostic}SigningCertificate" minOccurs="0"/> * <element name="CertificateChain" type="{http://dss.esig.europa.eu/validation/diagnostic}CertificateChain" minOccurs="0"/> * <element name="Info" type="{http://dss.esig.europa.eu/validation/diagnostic}InfoType" minOccurs="0"/> * </sequence> * <attribute name="Id" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> * </restriction> * </complexContent> * </complexType> * </pre> * * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "Revocation", propOrder = { "origin", "source", "sourceAddress", "available", "status", "reason", "productionDate", "thisUpdate", "nextUpdate", "revocationDate", "expiredCertsOnCRL", "archiveCutOff", "digestAlgoAndValues", "basicSignature", "signingCertificate", "certificateChain", "info" }) public class XmlRevocation { @XmlElement(name = "Origin", required = true) protected String origin; @XmlElement(name = "Source", required = true) protected String source; @XmlElement(name = "SourceAddress") protected String sourceAddress; @XmlElement(name = "Available") protected Boolean available; @XmlElement(name = "Status") protected boolean status; @XmlElement(name = "Reason") protected String reason; @XmlElement(name = "ProductionDate", type = String.class) @XmlJavaTypeAdapter(Adapter1 .class) @XmlSchemaType(name = "dateTime") protected Date productionDate; @XmlElement(name = "ThisUpdate", type = String.class) @XmlJavaTypeAdapter(Adapter1 .class) @XmlSchemaType(name = "dateTime") protected Date thisUpdate; @XmlElement(name = "NextUpdate", type = String.class) @XmlJavaTypeAdapter(Adapter1 .class) @XmlSchemaType(name = "dateTime") protected Date nextUpdate; @XmlElement(name = "RevocationDate", type = String.class) @XmlJavaTypeAdapter(Adapter1 .class) @XmlSchemaType(name = "dateTime") protected Date revocationDate; @XmlElement(name = "ExpiredCertsOnCRL", type = String.class) @XmlJavaTypeAdapter(Adapter1 .class) @XmlSchemaType(name = "dateTime") protected Date expiredCertsOnCRL; @XmlElement(name = "ArchiveCutOff", type = String.class) @XmlJavaTypeAdapter(Adapter1 .class) @XmlSchemaType(name = "dateTime") protected Date archiveCutOff; @XmlElementWrapper(name = "DigestAlgoAndValues") @XmlElement(name = "DigestAlgoAndValue", namespace = "http://dss.esig.europa.eu/validation/diagnostic") protected List<XmlDigestAlgoAndValue> digestAlgoAndValues; @XmlElement(name = "BasicSignature") protected XmlBasicSignature basicSignature; @XmlElement(name = "SigningCertificate") protected XmlSigningCertificate signingCertificate; @XmlElementWrapper(name = "CertificateChain") @XmlElement(name = "ChainItem", namespace = "http://dss.esig.europa.eu/validation/diagnostic") protected List<XmlChainItem> certificateChain; @XmlElementWrapper(name = "Info") @XmlElement(name = "Message", namespace = "http://dss.esig.europa.eu/validation/diagnostic") protected List<XmlMessage> info; @XmlAttribute(name = "Id", required = true) protected String id; /** * Gets the value of the origin property. * * @return * possible object is * {@link String } * */ public String getOrigin() { return origin; } /** * Sets the value of the origin property. * * @param value * allowed object is * {@link String } * */ public void setOrigin(String value) { this.origin = value; } /** * Gets the value of the source property. * * @return * possible object is * {@link String } * */ public String getSource() { return source; } /** * Sets the value of the source property. * * @param value * allowed object is * {@link String } * */ public void setSource(String value) { this.source = value; } /** * Gets the value of the sourceAddress property. * * @return * possible object is * {@link String } * */ public String getSourceAddress() { return sourceAddress; } /** * Sets the value of the sourceAddress property. * * @param value * allowed object is * {@link String } * */ public void setSourceAddress(String value) { this.sourceAddress = value; } /** * Gets the value of the available property. * * @return * possible object is * {@link Boolean } * */ public Boolean isAvailable() { return available; } /** * Sets the value of the available property. * * @param value * allowed object is * {@link Boolean } * */ public void setAvailable(Boolean value) { this.available = value; } /** * Gets the value of the status property. * */ public boolean isStatus() { return status; } /** * Sets the value of the status property. * */ public void setStatus(boolean value) { this.status = value; } /** * Gets the value of the reason property. * * @return * possible object is * {@link String } * */ public String getReason() { return reason; } /** * Sets the value of the reason property. * * @param value * allowed object is * {@link String } * */ public void setReason(String value) { this.reason = value; } /** * Gets the value of the productionDate property. * * @return * possible object is * {@link String } * */ public Date getProductionDate() { return productionDate; } /** * Sets the value of the productionDate property. * * @param value * allowed object is * {@link String } * */ public void setProductionDate(Date value) { this.productionDate = value; } /** * Gets the value of the thisUpdate property. * * @return * possible object is * {@link String } * */ public Date getThisUpdate() { return thisUpdate; } /** * Sets the value of the thisUpdate property. * * @param value * allowed object is * {@link String } * */ public void setThisUpdate(Date value) { this.thisUpdate = value; } /** * Gets the value of the nextUpdate property. * * @return * possible object is * {@link String } * */ public Date getNextUpdate() { return nextUpdate; } /** * Sets the value of the nextUpdate property. * * @param value * allowed object is * {@link String } * */ public void setNextUpdate(Date value) { this.nextUpdate = value; } /** * Gets the value of the revocationDate property. * * @return * possible object is * {@link String } * */ public Date getRevocationDate() { return revocationDate; } /** * Sets the value of the revocationDate property. * * @param value * allowed object is * {@link String } * */ public void setRevocationDate(Date value) { this.revocationDate = value; } /** * Gets the value of the expiredCertsOnCRL property. * * @return * possible object is * {@link String } * */ public Date getExpiredCertsOnCRL() { return expiredCertsOnCRL; } /** * Sets the value of the expiredCertsOnCRL property. * * @param value * allowed object is * {@link String } * */ public void setExpiredCertsOnCRL(Date value) { this.expiredCertsOnCRL = value; } /** * Gets the value of the archiveCutOff property. * * @return * possible object is * {@link String } * */ public Date getArchiveCutOff() { return archiveCutOff; } /** * Sets the value of the archiveCutOff property. * * @param value * allowed object is * {@link String } * */ public void setArchiveCutOff(Date value) { this.archiveCutOff = value; } /** * Gets the value of the basicSignature property. * * @return * possible object is * {@link XmlBasicSignature } * */ public XmlBasicSignature getBasicSignature() { return basicSignature; } /** * Sets the value of the basicSignature property. * * @param value * allowed object is * {@link XmlBasicSignature } * */ public void setBasicSignature(XmlBasicSignature value) { this.basicSignature = value; } /** * Gets the value of the signingCertificate property. * * @return * possible object is * {@link XmlSigningCertificate } * */ public XmlSigningCertificate getSigningCertificate() { return signingCertificate; } /** * Sets the value of the signingCertificate property. * * @param value * allowed object is * {@link XmlSigningCertificate } * */ public void setSigningCertificate(XmlSigningCertificate value) { this.signingCertificate = value; } /** * Gets the value of the id property. * * @return * possible object is * {@link String } * */ public String getId() { return id; } /** * Sets the value of the id property. * * @param value * allowed object is * {@link String } * */ public void setId(String value) { this.id = value; } public List<XmlDigestAlgoAndValue> getDigestAlgoAndValues() { if (digestAlgoAndValues == null) { digestAlgoAndValues = new ArrayList<XmlDigestAlgoAndValue>(); } return digestAlgoAndValues; } public void setDigestAlgoAndValues(List<XmlDigestAlgoAndValue> digestAlgoAndValues) { this.digestAlgoAndValues = digestAlgoAndValues; } public List<XmlChainItem> getCertificateChain() { if (certificateChain == null) { certificateChain = new ArrayList<XmlChainItem>(); } return certificateChain; } public void setCertificateChain(List<XmlChainItem> certificateChain) { this.certificateChain = certificateChain; } public List<XmlMessage> getInfo() { if (info == null) { info = new ArrayList<XmlMessage>(); } return info; } public void setInfo(List<XmlMessage> info) { this.info = info; } }