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 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.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.XmlSchemaType;
import javax.xml.bind.annotation.XmlType;
import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
import eu.europa.esig.dss.enumerations.RevocationRefOrigin;
/**
* 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(Adapter18 .class)
protected List origins;
@XmlElement(name = "DigestAlgoAndValue")
protected XmlDigestAlgoAndValue digestAlgoAndValue;
@XmlElement(name = "ProducedAt", type = String.class)
@XmlJavaTypeAdapter(Adapter1 .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 JAXB 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;
}
}