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

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

There is a newer version: 6.0.d4j.2
Show newest version
//
// 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.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlSeeAlso;
import javax.xml.bind.annotation.XmlType;
import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
import eu.europa.esig.dss.enumerations.RevocationOrigin;
import eu.europa.esig.dss.enumerations.RevocationType;


/**
 * 

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(Adapter16 .class) protected RevocationType type; @XmlElement(name = "Origin", type = String.class) @XmlJavaTypeAdapter(Adapter17 .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 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 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 JAXB 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