eu.europa.esig.dss.diagnostic.jaxb.XmlTrustedList 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 Eclipse Implementation of JAXB, v2.3.7
// See https://eclipse-ee4j.github.io/jaxb-ri
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2023.06.05 at 10:03:59 AM CEST
//
package eu.europa.esig.dss.diagnostic.jaxb;
import java.io.Serializable;
import java.util.Date;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlID;
import javax.xml.bind.annotation.XmlIDREF;
import javax.xml.bind.annotation.XmlSchemaType;
import javax.xml.bind.annotation.XmlType;
import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
/**
* Java class for TrustedList complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="TrustedList">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="CountryCode" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="Url" type="{http://www.w3.org/2001/XMLSchema}string"/>
* <element name="TSLType" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="SequenceNumber" type="{http://www.w3.org/2001/XMLSchema}int" minOccurs="0"/>
* <element name="Version" type="{http://www.w3.org/2001/XMLSchema}int" minOccurs="0"/>
* <element name="LastLoading" type="{http://www.w3.org/2001/XMLSchema}dateTime" minOccurs="0"/>
* <element name="IssueDate" type="{http://www.w3.org/2001/XMLSchema}dateTime" minOccurs="0"/>
* <element name="NextUpdate" type="{http://www.w3.org/2001/XMLSchema}dateTime" minOccurs="0"/>
* <element name="WellSigned" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
* </sequence>
* <attribute name="Id" use="required" type="{http://www.w3.org/2001/XMLSchema}ID" />
* <attribute name="LOTL" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
* <attribute name="parent" type="{http://www.w3.org/2001/XMLSchema}IDREF" />
* <attribute name="mra" type="{http://www.w3.org/2001/XMLSchema}boolean" />
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "TrustedList", propOrder = {
"countryCode",
"url",
"tslType",
"sequenceNumber",
"version",
"lastLoading",
"issueDate",
"nextUpdate",
"wellSigned"
})
public class XmlTrustedList implements Serializable
{
private final static long serialVersionUID = 1L;
@XmlElement(name = "CountryCode")
protected String countryCode;
@XmlElement(name = "Url", required = true)
protected String url;
@XmlElement(name = "TSLType")
protected String tslType;
@XmlElement(name = "SequenceNumber")
protected Integer sequenceNumber;
@XmlElement(name = "Version")
protected Integer version;
@XmlElement(name = "LastLoading", type = String.class)
@XmlJavaTypeAdapter(Adapter1 .class)
@XmlSchemaType(name = "dateTime")
protected Date lastLoading;
@XmlElement(name = "IssueDate", type = String.class)
@XmlJavaTypeAdapter(Adapter1 .class)
@XmlSchemaType(name = "dateTime")
protected Date issueDate;
@XmlElement(name = "NextUpdate", type = String.class)
@XmlJavaTypeAdapter(Adapter1 .class)
@XmlSchemaType(name = "dateTime")
protected Date nextUpdate;
@XmlElement(name = "WellSigned")
protected boolean wellSigned;
@XmlAttribute(name = "Id", required = true)
@XmlJavaTypeAdapter(CollapsedStringAdapter.class)
@XmlID
@XmlSchemaType(name = "ID")
protected String id;
@XmlAttribute(name = "LOTL")
protected Boolean lotl;
@XmlAttribute(name = "parent")
@XmlIDREF
@XmlSchemaType(name = "IDREF")
protected eu.europa.esig.dss.diagnostic.jaxb.XmlTrustedList parent;
@XmlAttribute(name = "mra")
protected Boolean mra;
/**
* 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;
}
/**
* Gets the value of the url property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getUrl() {
return url;
}
/**
* Sets the value of the url property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setUrl(String value) {
this.url = value;
}
/**
* Gets the value of the tslType property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getTSLType() {
return tslType;
}
/**
* Sets the value of the tslType property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setTSLType(String value) {
this.tslType = value;
}
/**
* Gets the value of the sequenceNumber property.
*
* @return
* possible object is
* {@link Integer }
*
*/
public Integer getSequenceNumber() {
return sequenceNumber;
}
/**
* Sets the value of the sequenceNumber property.
*
* @param value
* allowed object is
* {@link Integer }
*
*/
public void setSequenceNumber(Integer value) {
this.sequenceNumber = value;
}
/**
* Gets the value of the version property.
*
* @return
* possible object is
* {@link Integer }
*
*/
public Integer getVersion() {
return version;
}
/**
* Sets the value of the version property.
*
* @param value
* allowed object is
* {@link Integer }
*
*/
public void setVersion(Integer value) {
this.version = value;
}
/**
* Gets the value of the lastLoading property.
*
* @return
* possible object is
* {@link String }
*
*/
public Date getLastLoading() {
return lastLoading;
}
/**
* Sets the value of the lastLoading property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setLastLoading(Date value) {
this.lastLoading = value;
}
/**
* Gets the value of the issueDate property.
*
* @return
* possible object is
* {@link String }
*
*/
public Date getIssueDate() {
return issueDate;
}
/**
* Sets the value of the issueDate property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setIssueDate(Date value) {
this.issueDate = value;
}
/**
* Gets the value of the nextUpdate property.
*
* @return
* possible object is
* {@link String }
*
*/
public Date getNextUpdate() {
return nextUpdate;
}
/**
* Sets the value of the nextUpdate property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setNextUpdate(Date value) {
this.nextUpdate = value;
}
/**
* Gets the value of the wellSigned property.
*
*/
public boolean isWellSigned() {
return wellSigned;
}
/**
* Sets the value of the wellSigned property.
*
*/
public void setWellSigned(boolean value) {
this.wellSigned = value;
}
/**
* Gets the value of the id property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getId() {
return id;
}
/**
* Sets the value of the id property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setId(String value) {
this.id = value;
}
/**
* Gets the value of the lotl property.
*
* @return
* possible object is
* {@link Boolean }
*
*/
public boolean isLOTL() {
if (lotl == null) {
return false;
} else {
return lotl;
}
}
/**
* Sets the value of the lotl property.
*
* @param value
* allowed object is
* {@link Boolean }
*
*/
public void setLOTL(Boolean value) {
this.lotl = value;
}
/**
* Gets the value of the parent property.
*
* @return
* possible object is
* {@link Object }
*
*/
public eu.europa.esig.dss.diagnostic.jaxb.XmlTrustedList getParent() {
return parent;
}
/**
* Sets the value of the parent property.
*
* @param value
* allowed object is
* {@link Object }
*
*/
public void setParent(eu.europa.esig.dss.diagnostic.jaxb.XmlTrustedList value) {
this.parent = value;
}
/**
* Gets the value of the mra property.
*
* @return
* possible object is
* {@link Boolean }
*
*/
public Boolean isMra() {
return mra;
}
/**
* Sets the value of the mra property.
*
* @param value
* allowed object is
* {@link Boolean }
*
*/
public void setMra(Boolean value) {
this.mra = value;
}
}