eu.europa.esig.dss.diagnostic.jaxb.XmlFoundCertificate 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.List;
import eu.europa.esig.dss.enumerations.CertificateOrigin;
import jakarta.xml.bind.annotation.XmlAccessType;
import jakarta.xml.bind.annotation.XmlAccessorType;
import jakarta.xml.bind.annotation.XmlElement;
import jakarta.xml.bind.annotation.XmlSeeAlso;
import jakarta.xml.bind.annotation.XmlType;
import jakarta.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
/**
* Java class for FoundCertificate complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="FoundCertificate">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="Origin" type="{http://dss.esig.europa.eu/validation/diagnostic}CertificateOriginType" maxOccurs="unbounded" minOccurs="0"/>
* <element name="CertificateRef" type="{http://dss.esig.europa.eu/validation/diagnostic}CertificateRef" maxOccurs="unbounded" minOccurs="0"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "FoundCertificate", propOrder = {
"origins",
"certificateRefs"
})
@XmlSeeAlso({
XmlRelatedCertificate.class,
XmlOrphanCertificate.class
})
public abstract class XmlFoundCertificate implements Serializable
{
private final static long serialVersionUID = 1L;
@XmlElement(name = "Origin", type = String.class)
@XmlJavaTypeAdapter(Adapter12 .class)
protected List origins;
@XmlElement(name = "CertificateRef")
protected List certificateRefs;
/**
* 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 certificateRefs 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 certificateRefs property.
*
*
* For example, to add a new item, do as follows:
*
* getCertificateRefs().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link XmlCertificateRef }
*
*
*/
public List getCertificateRefs() {
if (certificateRefs == null) {
certificateRefs = new ArrayList();
}
return this.certificateRefs;
}
}