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

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

//
// 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.09.11 at 03:26:28 PM CEST 
//


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.RevocationOrigin;
import eu.europa.esig.dss.enumerations.RevocationType;
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 FoundRevocation complex type. * *

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

 * <complexType name="FoundRevocation">
 *   <complexContent>
 *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *       <sequence>
 *         <element name="Type" type="{http://dss.esig.europa.eu/validation/diagnostic}RevocationType"/>
 *         <element name="Origin" type="{http://dss.esig.europa.eu/validation/diagnostic}RevocationOriginType" maxOccurs="unbounded" minOccurs="0"/>
 *         <element name="RevocationRef" type="{http://dss.esig.europa.eu/validation/diagnostic}RevocationRef" maxOccurs="unbounded" minOccurs="0"/>
 *       </sequence>
 *     </restriction>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "FoundRevocation", propOrder = { "type", "origins", "revocationRefs" }) @XmlSeeAlso({ XmlRelatedRevocation.class, XmlOrphanRevocation.class }) public abstract class XmlFoundRevocation implements Serializable { private final static long serialVersionUID = 1L; @XmlElement(name = "Type", required = true, type = String.class) @XmlJavaTypeAdapter(Adapter20 .class) protected RevocationType type; @XmlElement(name = "Origin", type = String.class) @XmlJavaTypeAdapter(Adapter21 .class) protected List origins; @XmlElement(name = "RevocationRef") protected List revocationRefs; /** * Gets the value of the type property. * * @return * possible object is * {@link String } * */ public RevocationType getType() { return type; } /** * Sets the value of the type property. * * @param value * allowed object is * {@link String } * */ public void setType(RevocationType value) { this.type = value; } /** * 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 revocationRefs 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 revocationRefs property. * *

* For example, to add a new item, do as follows: *

     *    getRevocationRefs().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link XmlRevocationRef } * * */ public List getRevocationRefs() { if (revocationRefs == null) { revocationRefs = new ArrayList(); } return this.revocationRefs; } }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy