//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.7
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2017.01.26 at 09:19:39 AM CET
//
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;
/**
* <p>Java class for TrustedService complex type.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>
* <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>
* </pre>
*
*
*/
@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<String> capturedQualifiers;
@XmlElementWrapper(name = "AdditionalServiceInfoUris")
@XmlElement(name = "URI", namespace = "http://dss.esig.europa.eu/validation/diagnostic")
protected List<String> 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<String> getCapturedQualifiers() {
if (capturedQualifiers == null) {
capturedQualifiers = new ArrayList<String>();
}
return capturedQualifiers;
}
public void setCapturedQualifiers(List<String> capturedQualifiers) {
this.capturedQualifiers = capturedQualifiers;
}
public List<String> getAdditionalServiceInfoUris() {
if (additionalServiceInfoUris == null) {
additionalServiceInfoUris = new ArrayList<String>();
}
return additionalServiceInfoUris;
}
public void setAdditionalServiceInfoUris(List<String> additionalServiceInfoUris) {
this.additionalServiceInfoUris = additionalServiceInfoUris;
}
}