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

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

The newest version!
//
// This file was generated by the Eclipse Implementation of JAXB, v3.0.2 
// See https://eclipse-ee4j.github.io/jaxb-ri 
// Any modifications to this file will be lost upon recompilation of the source schema. 
// Generated on: 2024.06.17 at 03:23:20 PM EEST 
//


package eu.europa.esig.dss.diagnostic.jaxb;

import java.io.Serializable;
import java.util.Date;
import eu.europa.esig.dss.enumerations.CertificateStatus;
import eu.europa.esig.dss.enumerations.RevocationReason;
import eu.europa.esig.dss.jaxb.parsers.DateParser;
import jakarta.xml.bind.annotation.XmlAccessType;
import jakarta.xml.bind.annotation.XmlAccessorType;
import jakarta.xml.bind.annotation.XmlAttribute;
import jakarta.xml.bind.annotation.XmlElement;
import jakarta.xml.bind.annotation.XmlIDREF;
import jakarta.xml.bind.annotation.XmlSchemaType;
import jakarta.xml.bind.annotation.XmlType;
import jakarta.xml.bind.annotation.adapters.XmlJavaTypeAdapter;


/**
 * 

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(Adapter16 .class) protected CertificateStatus status; @XmlElement(name = "Reason", type = String.class) @XmlJavaTypeAdapter(Adapter17 .class) protected RevocationReason reason; @XmlElement(name = "RevocationDate", type = String.class) @XmlJavaTypeAdapter(DateParser.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