eu.europa.esig.dss.jaxb.diagnostic.XmlTrustedService Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of dss-diagnostic-jaxb Show documentation
Show all versions of dss-diagnostic-jaxb Show documentation
Generated source from XSD for Diagnostic Data.
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.7
// See http://java.sun.com/xml/jaxb
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2017.05.29 at 09:26:39 AM CEST
//
package eu.europa.esig.dss.jaxb.diagnostic;
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.XmlElementWrapper;
import javax.xml.bind.annotation.XmlSchemaType;
import javax.xml.bind.annotation.XmlType;
import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
/**
* Java class for TrustedService complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="TrustedService">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <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" minOccurs="0">
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="Qualifier" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </element>
* <element name="AdditionalServiceInfoUris" minOccurs="0">
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="URI" 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"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "TrustedService", propOrder = {
"serviceType",
"status",
"startDate",
"endDate",
"capturedQualifiers",
"additionalServiceInfoUris",
"expiredCertsRevocationInfo"
})
public class XmlTrustedService {
@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(Adapter1 .class)
@XmlSchemaType(name = "dateTime")
protected Date startDate;
@XmlElement(name = "EndDate", type = String.class)
@XmlJavaTypeAdapter(Adapter1 .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 = "URI", namespace = "http://dss.esig.europa.eu/validation/diagnostic")
protected List additionalServiceInfoUris;
@XmlElement(type = String.class)
@XmlJavaTypeAdapter(Adapter1 .class)
@XmlSchemaType(name = "dateTime")
protected Date expiredCertsRevocationInfo;
/**
* 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;
}
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;
}
}