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

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

The newest version!
//
// 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.jaxb.parsers.DateParser;
import jakarta.xml.bind.annotation.XmlAccessType;
import jakarta.xml.bind.annotation.XmlAccessorType;
import jakarta.xml.bind.annotation.XmlAttribute;
import jakarta.xml.bind.annotation.XmlElement;
import jakarta.xml.bind.annotation.XmlElementWrapper;
import jakarta.xml.bind.annotation.XmlIDREF;
import jakarta.xml.bind.annotation.XmlSchemaType;
import jakarta.xml.bind.annotation.XmlType;
import jakarta.xml.bind.annotation.adapters.XmlJavaTypeAdapter;


/**
 * 

Java class for TrustService complex type. * *

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

 * <complexType name="TrustService">
 *   <complexContent>
 *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *       <sequence>
 *         <element name="ServiceNames" minOccurs="0">
 *           <complexType>
 *             <complexContent>
 *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *                 <sequence>
 *                   <element name="ServiceName" type="{http://dss.esig.europa.eu/validation/diagnostic}LangAndValue" maxOccurs="unbounded" minOccurs="0"/>
 *                 </sequence>
 *               </restriction>
 *             </complexContent>
 *           </complexType>
 *         </element>
 *         <element name="ServiceType" type="{http://www.w3.org/2001/XMLSchema}string"/>
 *         <element name="Status" type="{http://www.w3.org/2001/XMLSchema}string"/>
 *         <element name="StartDate" type="{http://www.w3.org/2001/XMLSchema}dateTime"/>
 *         <element name="EndDate" type="{http://www.w3.org/2001/XMLSchema}dateTime" minOccurs="0"/>
 *         <element name="CapturedQualifiers" type="{http://dss.esig.europa.eu/validation/diagnostic}CapturedQualifiers" minOccurs="0"/>
 *         <element name="AdditionalServiceInfoUris" type="{http://dss.esig.europa.eu/validation/diagnostic}AdditionalServiceInfoUris" minOccurs="0"/>
 *         <element name="ServiceSupplyPoints" minOccurs="0">
 *           <complexType>
 *             <complexContent>
 *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *                 <sequence>
 *                   <element name="ServiceSupplyPoint" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
 *                 </sequence>
 *               </restriction>
 *             </complexContent>
 *           </complexType>
 *         </element>
 *         <element name="ExpiredCertsRevocationInfo" type="{http://www.w3.org/2001/XMLSchema}dateTime" minOccurs="0"/>
 *         <element name="MRATrustServiceMapping" type="{http://dss.esig.europa.eu/validation/diagnostic}MRATrustServiceMapping" minOccurs="0"/>
 *       </sequence>
 *       <attribute name="ServiceDigitalIdentifier" use="required" type="{http://www.w3.org/2001/XMLSchema}IDREF" />
 *       <attribute name="enactedMRA" type="{http://www.w3.org/2001/XMLSchema}boolean" />
 *     </restriction>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "TrustService", propOrder = { "serviceNames", "serviceType", "status", "startDate", "endDate", "capturedQualifiers", "additionalServiceInfoUris", "serviceSupplyPoints", "expiredCertsRevocationInfo", "mraTrustServiceMapping" }) public class XmlTrustService implements Serializable { private final static long serialVersionUID = 1L; @XmlElementWrapper(name = "ServiceNames") @XmlElement(name = "ServiceName", namespace = "http://dss.esig.europa.eu/validation/diagnostic") protected List serviceNames; @XmlElement(name = "ServiceType", required = true) protected String serviceType; @XmlElement(name = "Status", required = true) protected String status; @XmlElement(name = "StartDate", required = true, type = String.class) @XmlJavaTypeAdapter(DateParser.class) @XmlSchemaType(name = "dateTime") protected Date startDate; @XmlElement(name = "EndDate", type = String.class) @XmlJavaTypeAdapter(DateParser.class) @XmlSchemaType(name = "dateTime") protected Date endDate; @XmlElementWrapper(name = "CapturedQualifiers") @XmlElement(name = "Qualifier", namespace = "http://dss.esig.europa.eu/validation/diagnostic") protected List capturedQualifiers; @XmlElementWrapper(name = "AdditionalServiceInfoUris") @XmlElement(name = "AdditionalServiceInfoUri", namespace = "http://dss.esig.europa.eu/validation/diagnostic") protected List additionalServiceInfoUris; @XmlElementWrapper(name = "ServiceSupplyPoints") @XmlElement(name = "ServiceSupplyPoint", namespace = "http://dss.esig.europa.eu/validation/diagnostic") protected List serviceSupplyPoints; @XmlElement(name = "ExpiredCertsRevocationInfo", type = String.class) @XmlJavaTypeAdapter(DateParser.class) @XmlSchemaType(name = "dateTime") protected Date expiredCertsRevocationInfo; @XmlElement(name = "MRATrustServiceMapping") protected XmlMRATrustServiceMapping mraTrustServiceMapping; @XmlAttribute(name = "ServiceDigitalIdentifier", required = true) @XmlIDREF @XmlSchemaType(name = "IDREF") protected XmlCertificate serviceDigitalIdentifier; @XmlAttribute(name = "enactedMRA") protected Boolean enactedMRA; /** * Gets the value of the serviceType property. * * @return * possible object is * {@link String } * */ public String getServiceType() { return serviceType; } /** * Sets the value of the serviceType property. * * @param value * allowed object is * {@link String } * */ public void setServiceType(String value) { this.serviceType = value; } /** * Gets the value of the status property. * * @return * possible object is * {@link String } * */ public String getStatus() { return status; } /** * Sets the value of the status property. * * @param value * allowed object is * {@link String } * */ public void setStatus(String value) { this.status = value; } /** * Gets the value of the startDate property. * * @return * possible object is * {@link String } * */ public Date getStartDate() { return startDate; } /** * Sets the value of the startDate property. * * @param value * allowed object is * {@link String } * */ public void setStartDate(Date value) { this.startDate = value; } /** * Gets the value of the endDate property. * * @return * possible object is * {@link String } * */ public Date getEndDate() { return endDate; } /** * Sets the value of the endDate property. * * @param value * allowed object is * {@link String } * */ public void setEndDate(Date value) { this.endDate = value; } /** * Gets the value of the expiredCertsRevocationInfo property. * * @return * possible object is * {@link String } * */ public Date getExpiredCertsRevocationInfo() { return expiredCertsRevocationInfo; } /** * Sets the value of the expiredCertsRevocationInfo property. * * @param value * allowed object is * {@link String } * */ public void setExpiredCertsRevocationInfo(Date value) { this.expiredCertsRevocationInfo = value; } /** * Gets the value of the mraTrustServiceMapping property. * * @return * possible object is * {@link XmlMRATrustServiceMapping } * */ public XmlMRATrustServiceMapping getMRATrustServiceMapping() { return mraTrustServiceMapping; } /** * Sets the value of the mraTrustServiceMapping property. * * @param value * allowed object is * {@link XmlMRATrustServiceMapping } * */ public void setMRATrustServiceMapping(XmlMRATrustServiceMapping value) { this.mraTrustServiceMapping = value; } /** * Gets the value of the serviceDigitalIdentifier property. * * @return * possible object is * {@link Object } * */ public XmlCertificate getServiceDigitalIdentifier() { return serviceDigitalIdentifier; } /** * Sets the value of the serviceDigitalIdentifier property. * * @param value * allowed object is * {@link Object } * */ public void setServiceDigitalIdentifier(XmlCertificate value) { this.serviceDigitalIdentifier = value; } /** * Gets the value of the enactedMRA property. * * @return * possible object is * {@link Boolean } * */ public Boolean isEnactedMRA() { return enactedMRA; } /** * Sets the value of the enactedMRA property. * * @param value * allowed object is * {@link Boolean } * */ public void setEnactedMRA(Boolean value) { this.enactedMRA = value; } public List getServiceNames() { if (serviceNames == null) { serviceNames = new ArrayList(); } return serviceNames; } public void setServiceNames(List serviceNames) { this.serviceNames = serviceNames; } public List getCapturedQualifiers() { if (capturedQualifiers == null) { capturedQualifiers = new ArrayList(); } return capturedQualifiers; } public void setCapturedQualifiers(List capturedQualifiers) { this.capturedQualifiers = capturedQualifiers; } public List getAdditionalServiceInfoUris() { if (additionalServiceInfoUris == null) { additionalServiceInfoUris = new ArrayList(); } return additionalServiceInfoUris; } public void setAdditionalServiceInfoUris(List additionalServiceInfoUris) { this.additionalServiceInfoUris = additionalServiceInfoUris; } public List getServiceSupplyPoints() { if (serviceSupplyPoints == null) { serviceSupplyPoints = new ArrayList(); } return serviceSupplyPoints; } public void setServiceSupplyPoints(List serviceSupplyPoints) { this.serviceSupplyPoints = serviceSupplyPoints; } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy