All Downloads are FREE. Search and download functionalities are using the official Maven repository.

eu.europa.esig.dss.diagnostic.jaxb.XmlCertificateRevocation Maven / Gradle / Ivy

There is a newer version: 6.0.d4j.2
Show newest version
//
// 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.Date;
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.XmlIDREF;
import javax.xml.bind.annotation.XmlSchemaType;
import javax.xml.bind.annotation.XmlType;
import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
import eu.europa.esig.dss.enumerations.CertificateStatus;
import eu.europa.esig.dss.enumerations.RevocationReason;


/**
 * 

Java class for CertificateRevocation complex type. * *

The following schema fragment specifies the expected content contained within this class. * *

 * <complexType name="CertificateRevocation">
 *   <complexContent>
 *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *       <sequence>
 *         <element name="Status" type="{http://dss.esig.europa.eu/validation/diagnostic}CertificateStatus"/>
 *         <element name="Reason" type="{http://dss.esig.europa.eu/validation/diagnostic}RevocationReason" minOccurs="0"/>
 *         <element name="RevocationDate" type="{http://www.w3.org/2001/XMLSchema}dateTime" minOccurs="0"/>
 *       </sequence>
 *       <attribute name="Revocation" use="required" type="{http://www.w3.org/2001/XMLSchema}IDREF" />
 *     </restriction>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "CertificateRevocation", propOrder = { "status", "reason", "revocationDate" }) public class XmlCertificateRevocation implements Serializable { private final static long serialVersionUID = 1L; @XmlElement(name = "Status", required = true, type = String.class) @XmlJavaTypeAdapter(Adapter13 .class) protected CertificateStatus status; @XmlElement(name = "Reason", type = String.class) @XmlJavaTypeAdapter(Adapter14 .class) protected RevocationReason reason; @XmlElement(name = "RevocationDate", type = String.class) @XmlJavaTypeAdapter(Adapter1 .class) @XmlSchemaType(name = "dateTime") protected Date revocationDate; @XmlAttribute(name = "Revocation", required = true) @XmlIDREF @XmlSchemaType(name = "IDREF") protected XmlRevocation revocation; /** * Gets the value of the status property. * * @return * possible object is * {@link String } * */ public CertificateStatus getStatus() { return status; } /** * Sets the value of the status property. * * @param value * allowed object is * {@link String } * */ public void setStatus(CertificateStatus value) { this.status = value; } /** * Gets the value of the reason property. * * @return * possible object is * {@link String } * */ public RevocationReason getReason() { return reason; } /** * Sets the value of the reason property. * * @param value * allowed object is * {@link String } * */ public void setReason(RevocationReason value) { this.reason = 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 revocation property. * * @return * possible object is * {@link Object } * */ public XmlRevocation getRevocation() { return revocation; } /** * Sets the value of the revocation property. * * @param value * allowed object is * {@link Object } * */ public void setRevocation(XmlRevocation value) { this.revocation = value; } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy