//
// 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.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.XmlType;
/**
* <p>Java class for TrustedServiceProvider complex type.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>
* <complexType name="TrustedServiceProvider">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="TSPName" type="{http://www.w3.org/2001/XMLSchema}string"/>
* <element name="TSPServiceName" type="{http://www.w3.org/2001/XMLSchema}string"/>
* <element name="CountryCode" type="{http://www.w3.org/2001/XMLSchema}string"/>
* <element name="TrustedServices">
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="TrustedService" type="{http://dss.esig.europa.eu/validation/diagnostic}TrustedService" maxOccurs="unbounded" minOccurs="0"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </element>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "TrustedServiceProvider", propOrder = {
"tspName",
"tspServiceName",
"countryCode",
"trustedServices"
})
public class XmlTrustedServiceProvider {
@XmlElement(name = "TSPName", required = true)
protected String tspName;
@XmlElement(name = "TSPServiceName", required = true)
protected String tspServiceName;
@XmlElement(name = "CountryCode", required = true)
protected String countryCode;
@XmlElementWrapper(name = "TrustedServices", required = true)
@XmlElement(name = "TrustedService", namespace = "http://dss.esig.europa.eu/validation/diagnostic")
protected List<XmlTrustedService> trustedServices;
/**
* Gets the value of the tspName property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getTSPName() {
return tspName;
}
/**
* Sets the value of the tspName property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setTSPName(String value) {
this.tspName = value;
}
/**
* Gets the value of the tspServiceName property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getTSPServiceName() {
return tspServiceName;
}
/**
* Sets the value of the tspServiceName property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setTSPServiceName(String value) {
this.tspServiceName = value;
}
/**
* Gets the value of the countryCode property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getCountryCode() {
return countryCode;
}
/**
* Sets the value of the countryCode property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setCountryCode(String value) {
this.countryCode = value;
}
public List<XmlTrustedService> getTrustedServices() {
if (trustedServices == null) {
trustedServices = new ArrayList<XmlTrustedService>();
}
return trustedServices;
}
public void setTrustedServices(List<XmlTrustedService> trustedServices) {
this.trustedServices = trustedServices;
}
}