eu.europa.esig.dss.diagnostic.jaxb.XmlPolicy 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.3.0
// See https://javaee.github.io/jaxb-v2/
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2021.10.20 at 09:59:47 AM EEST
//
package eu.europa.esig.dss.diagnostic.jaxb;
import java.io.Serializable;
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;
/**
* Java class for Policy complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="Policy">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="Id" type="{http://www.w3.org/2001/XMLSchema}string"/>
* <element name="Url" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="Description" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="Notice" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="ZeroHash" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
* <element name="DigestAlgoAndValue" type="{http://dss.esig.europa.eu/validation/diagnostic}DigestAlgoAndValue" minOccurs="0"/>
* <element name="Asn1Processable" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
* <element name="Transformations" type="{http://dss.esig.europa.eu/validation/diagnostic}Transformations" minOccurs="0"/>
* <element name="Identified" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
* <element name="Status" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
* <element name="ProcessingError" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="DigestAlgorithmsEqual" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
* <element name="DocumentationReferences" type="{http://dss.esig.europa.eu/validation/diagnostic}DocumentationReferences" minOccurs="0"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "Policy", propOrder = {
"id",
"url",
"description",
"notice",
"zeroHash",
"digestAlgoAndValue",
"asn1Processable",
"transformations",
"identified",
"status",
"processingError",
"digestAlgorithmsEqual",
"documentationReferences"
})
public class XmlPolicy implements Serializable
{
private final static long serialVersionUID = 1L;
@XmlElement(name = "Id", required = true)
protected String id;
@XmlElement(name = "Url")
protected String url;
@XmlElement(name = "Description")
protected String description;
@XmlElement(name = "Notice")
protected String notice;
@XmlElement(name = "ZeroHash")
protected Boolean zeroHash;
@XmlElement(name = "DigestAlgoAndValue")
protected XmlDigestAlgoAndValue digestAlgoAndValue;
@XmlElement(name = "Asn1Processable")
protected Boolean asn1Processable;
@XmlElementWrapper(name = "Transformations")
@XmlElement(name = "Transformation", namespace = "http://dss.esig.europa.eu/validation/diagnostic")
protected List transformations;
@XmlElement(name = "Identified")
protected Boolean identified;
@XmlElement(name = "Status")
protected Boolean status;
@XmlElement(name = "ProcessingError")
protected String processingError;
@XmlElement(name = "DigestAlgorithmsEqual")
protected Boolean digestAlgorithmsEqual;
@XmlElementWrapper(name = "DocumentationReferences")
@XmlElement(name = "DocumentationReference", namespace = "http://dss.esig.europa.eu/validation/diagnostic")
protected List documentationReferences;
/**
* 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 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 description property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getDescription() {
return description;
}
/**
* Sets the value of the description property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setDescription(String value) {
this.description = value;
}
/**
* Gets the value of the notice property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getNotice() {
return notice;
}
/**
* Sets the value of the notice property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setNotice(String value) {
this.notice = value;
}
/**
* Gets the value of the zeroHash property.
*
* @return
* possible object is
* {@link Boolean }
*
*/
public Boolean isZeroHash() {
return zeroHash;
}
/**
* Sets the value of the zeroHash property.
*
* @param value
* allowed object is
* {@link Boolean }
*
*/
public void setZeroHash(Boolean value) {
this.zeroHash = value;
}
/**
* Gets the value of the digestAlgoAndValue property.
*
* @return
* possible object is
* {@link XmlDigestAlgoAndValue }
*
*/
public XmlDigestAlgoAndValue getDigestAlgoAndValue() {
return digestAlgoAndValue;
}
/**
* Sets the value of the digestAlgoAndValue property.
*
* @param value
* allowed object is
* {@link XmlDigestAlgoAndValue }
*
*/
public void setDigestAlgoAndValue(XmlDigestAlgoAndValue value) {
this.digestAlgoAndValue = value;
}
/**
* Gets the value of the asn1Processable property.
*
* @return
* possible object is
* {@link Boolean }
*
*/
public Boolean isAsn1Processable() {
return asn1Processable;
}
/**
* Sets the value of the asn1Processable property.
*
* @param value
* allowed object is
* {@link Boolean }
*
*/
public void setAsn1Processable(Boolean value) {
this.asn1Processable = value;
}
/**
* Gets the value of the identified property.
*
* @return
* possible object is
* {@link Boolean }
*
*/
public Boolean isIdentified() {
return identified;
}
/**
* Sets the value of the identified property.
*
* @param value
* allowed object is
* {@link Boolean }
*
*/
public void setIdentified(Boolean value) {
this.identified = value;
}
/**
* Gets the value of the status property.
*
* @return
* possible object is
* {@link Boolean }
*
*/
public Boolean isStatus() {
return status;
}
/**
* Sets the value of the status property.
*
* @param value
* allowed object is
* {@link Boolean }
*
*/
public void setStatus(Boolean value) {
this.status = value;
}
/**
* Gets the value of the processingError property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getProcessingError() {
return processingError;
}
/**
* Sets the value of the processingError property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setProcessingError(String value) {
this.processingError = value;
}
/**
* Gets the value of the digestAlgorithmsEqual property.
*
* @return
* possible object is
* {@link Boolean }
*
*/
public Boolean isDigestAlgorithmsEqual() {
return digestAlgorithmsEqual;
}
/**
* Sets the value of the digestAlgorithmsEqual property.
*
* @param value
* allowed object is
* {@link Boolean }
*
*/
public void setDigestAlgorithmsEqual(Boolean value) {
this.digestAlgorithmsEqual = value;
}
public List getTransformations() {
if (transformations == null) {
transformations = new ArrayList();
}
return transformations;
}
public void setTransformations(List transformations) {
this.transformations = transformations;
}
public List getDocumentationReferences() {
if (documentationReferences == null) {
documentationReferences = new ArrayList();
}
return documentationReferences;
}
public void setDocumentationReferences(List documentationReferences) {
this.documentationReferences = documentationReferences;
}
}