eu.europa.esig.dss.diagnostic.jaxb.XmlRevocationRef Maven / Gradle / Ivy
Show all versions of dss-diagnostic-jaxb Show documentation
//
// 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.ArrayList;
import java.util.Date;
import java.util.List;
import eu.europa.esig.dss.enumerations.RevocationRefOrigin;
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.XmlElement;
import jakarta.xml.bind.annotation.XmlSchemaType;
import jakarta.xml.bind.annotation.XmlType;
import jakarta.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
/**
* Java class for RevocationRef complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="RevocationRef">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="Origin" type="{http://dss.esig.europa.eu/validation/diagnostic}RevocationRefOriginType" maxOccurs="unbounded"/>
* <element name="DigestAlgoAndValue" type="{http://dss.esig.europa.eu/validation/diagnostic}DigestAlgoAndValue" minOccurs="0"/>
* <element name="ProducedAt" type="{http://www.w3.org/2001/XMLSchema}dateTime" minOccurs="0"/>
* <element name="ResponderId" type="{http://dss.esig.europa.eu/validation/diagnostic}SignerInfo" minOccurs="0"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "RevocationRef", propOrder = {
"origins",
"digestAlgoAndValue",
"producedAt",
"responderId"
})
public class XmlRevocationRef implements Serializable
{
private final static long serialVersionUID = 1L;
@XmlElement(name = "Origin", required = true, type = String.class)
@XmlJavaTypeAdapter(Adapter21 .class)
protected List origins;
@XmlElement(name = "DigestAlgoAndValue")
protected XmlDigestAlgoAndValue digestAlgoAndValue;
@XmlElement(name = "ProducedAt", type = String.class)
@XmlJavaTypeAdapter(DateParser.class)
@XmlSchemaType(name = "dateTime")
protected Date producedAt;
@XmlElement(name = "ResponderId")
protected XmlSignerInfo responderId;
/**
* Gets the value of the origins property.
*
*
* This accessor method returns a reference to the live list,
* not a snapshot. Therefore any modification you make to the
* returned list will be present inside the Jakarta XML Binding object.
* This is why there is not a set
method for the origins property.
*
*
* For example, to add a new item, do as follows:
*
* getOrigins().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link String }
*
*
*/
public List getOrigins() {
if (origins == null) {
origins = new ArrayList();
}
return this.origins;
}
/**
* Gets the value of the digestAlgoAndValue property.
*
* @return
* possible object is
* {@link XmlDigestAlgoAndValue }
*
*/
public XmlDigestAlgoAndValue getDigestAlgoAndValue() {
return digestAlgoAndValue;
}
/**
* Sets the value of the digestAlgoAndValue property.
*
* @param value
* allowed object is
* {@link XmlDigestAlgoAndValue }
*
*/
public void setDigestAlgoAndValue(XmlDigestAlgoAndValue value) {
this.digestAlgoAndValue = value;
}
/**
* Gets the value of the producedAt property.
*
* @return
* possible object is
* {@link String }
*
*/
public Date getProducedAt() {
return producedAt;
}
/**
* Sets the value of the producedAt property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setProducedAt(Date value) {
this.producedAt = value;
}
/**
* Gets the value of the responderId property.
*
* @return
* possible object is
* {@link XmlSignerInfo }
*
*/
public XmlSignerInfo getResponderId() {
return responderId;
}
/**
* Sets the value of the responderId property.
*
* @param value
* allowed object is
* {@link XmlSignerInfo }
*
*/
public void setResponderId(XmlSignerInfo value) {
this.responderId = value;
}
}