//
// 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.19 at 08:28:00 AM CET
//
package eu.europa.esig.dss.jaxb.simplereport;
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.XmlAttribute;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlSchemaType;
import javax.xml.bind.annotation.XmlType;
import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
import eu.europa.esig.dss.validation.policy.rules.Indication;
import eu.europa.esig.dss.validation.policy.rules.SubIndication;
/**
* <p>Java class for anonymous complex type.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="Filename" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="SigningTime" type="{http://www.w3.org/2001/XMLSchema}dateTime" minOccurs="0"/>
* <element name="SignedBy" type="{http://www.w3.org/2001/XMLSchema}string"/>
* <element name="SignatureLevel" type="{http://dss.esig.europa.eu/validation/simple-report}SignatureLevel" minOccurs="0"/>
* <element name="Indication" type="{http://dss.esig.europa.eu/validation/simple-report}Indication"/>
* <element name="SubIndication" type="{http://dss.esig.europa.eu/validation/simple-report}SubIndication" minOccurs="0"/>
* <element name="Errors" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
* <element name="Warnings" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
* <element name="Infos" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
* <element name="SignatureScope" maxOccurs="unbounded" minOccurs="0">
* <complexType>
* <simpleContent>
* <extension base="<http://www.w3.org/2001/XMLSchema>string">
* <attribute name="name" type="{http://www.w3.org/2001/XMLSchema}string" />
* <attribute name="scope" type="{http://www.w3.org/2001/XMLSchema}string" />
* </extension>
* </simpleContent>
* </complexType>
* </element>
* </sequence>
* <attribute name="Id" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
* <attribute name="Type" type="{http://www.w3.org/2001/XMLSchema}string" />
* <attribute name="ParentId" type="{http://www.w3.org/2001/XMLSchema}string" />
* <attribute name="SignatureFormat" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
* </restriction>
* </complexContent>
* </complexType>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"filename",
"signingTime",
"signedBy",
"signatureLevel",
"indication",
"subIndication",
"errors",
"warnings",
"infos",
"signatureScope"
})
public class XmlSignature {
@XmlElement(name = "Filename")
protected String filename;
@XmlElement(name = "SigningTime", type = String.class)
@XmlJavaTypeAdapter(Adapter1 .class)
@XmlSchemaType(name = "dateTime")
protected Date signingTime;
@XmlElement(name = "SignedBy", required = true)
protected String signedBy;
@XmlElement(name = "SignatureLevel")
protected XmlSignatureLevel signatureLevel;
@XmlElement(name = "Indication", required = true, type = String.class)
@XmlJavaTypeAdapter(Adapter2 .class)
protected Indication indication;
@XmlElement(name = "SubIndication", type = String.class)
@XmlJavaTypeAdapter(Adapter3 .class)
protected SubIndication subIndication;
@XmlElement(name = "Errors")
protected List<String> errors;
@XmlElement(name = "Warnings")
protected List<String> warnings;
@XmlElement(name = "Infos")
protected List<String> infos;
@XmlElement(name = "SignatureScope")
protected List<XmlSignatureScope> signatureScope;
@XmlAttribute(name = "Id", required = true)
protected String id;
@XmlAttribute(name = "Type")
protected String type;
@XmlAttribute(name = "ParentId")
protected String parentId;
@XmlAttribute(name = "SignatureFormat", required = true)
protected String signatureFormat;
/**
* Gets the value of the filename property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getFilename() {
return filename;
}
/**
* Sets the value of the filename property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setFilename(String value) {
this.filename = value;
}
/**
* Gets the value of the signingTime property.
*
* @return
* possible object is
* {@link String }
*
*/
public Date getSigningTime() {
return signingTime;
}
/**
* Sets the value of the signingTime property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setSigningTime(Date value) {
this.signingTime = value;
}
/**
* Gets the value of the signedBy property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getSignedBy() {
return signedBy;
}
/**
* Sets the value of the signedBy property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setSignedBy(String value) {
this.signedBy = value;
}
/**
* Gets the value of the signatureLevel property.
*
* @return
* possible object is
* {@link XmlSignatureLevel }
*
*/
public XmlSignatureLevel getSignatureLevel() {
return signatureLevel;
}
/**
* Sets the value of the signatureLevel property.
*
* @param value
* allowed object is
* {@link XmlSignatureLevel }
*
*/
public void setSignatureLevel(XmlSignatureLevel value) {
this.signatureLevel = value;
}
/**
* Gets the value of the indication property.
*
* @return
* possible object is
* {@link String }
*
*/
public Indication getIndication() {
return indication;
}
/**
* Sets the value of the indication property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setIndication(Indication value) {
this.indication = value;
}
/**
* Gets the value of the subIndication property.
*
* @return
* possible object is
* {@link String }
*
*/
public SubIndication getSubIndication() {
return subIndication;
}
/**
* Sets the value of the subIndication property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setSubIndication(SubIndication value) {
this.subIndication = value;
}
/**
* Gets the value of the errors property.
*
* <p>
* This accessor method returns a reference to the live list,
* not a snapshot. Therefore any modification you make to the
* returned list will be present inside the JAXB object.
* This is why there is not a <CODE>set</CODE> method for the errors property.
*
* <p>
* For example, to add a new item, do as follows:
* <pre>
* getErrors().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list
* {@link String }
*
*
*/
public List<String> getErrors() {
if (errors == null) {
errors = new ArrayList<String>();
}
return this.errors;
}
/**
* Gets the value of the warnings property.
*
* <p>
* This accessor method returns a reference to the live list,
* not a snapshot. Therefore any modification you make to the
* returned list will be present inside the JAXB object.
* This is why there is not a <CODE>set</CODE> method for the warnings property.
*
* <p>
* For example, to add a new item, do as follows:
* <pre>
* getWarnings().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list
* {@link String }
*
*
*/
public List<String> getWarnings() {
if (warnings == null) {
warnings = new ArrayList<String>();
}
return this.warnings;
}
/**
* Gets the value of the infos property.
*
* <p>
* This accessor method returns a reference to the live list,
* not a snapshot. Therefore any modification you make to the
* returned list will be present inside the JAXB object.
* This is why there is not a <CODE>set</CODE> method for the infos property.
*
* <p>
* For example, to add a new item, do as follows:
* <pre>
* getInfos().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list
* {@link String }
*
*
*/
public List<String> getInfos() {
if (infos == null) {
infos = new ArrayList<String>();
}
return this.infos;
}
/**
* Gets the value of the signatureScope property.
*
* <p>
* This accessor method returns a reference to the live list,
* not a snapshot. Therefore any modification you make to the
* returned list will be present inside the JAXB object.
* This is why there is not a <CODE>set</CODE> method for the signatureScope property.
*
* <p>
* For example, to add a new item, do as follows:
* <pre>
* getSignatureScope().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list
* {@link XmlSignatureScope }
*
*
*/
public List<XmlSignatureScope> getSignatureScope() {
if (signatureScope == null) {
signatureScope = new ArrayList<XmlSignatureScope>();
}
return this.signatureScope;
}
/**
* 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 type property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getType() {
return type;
}
/**
* Sets the value of the type property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setType(String value) {
this.type = value;
}
/**
* Gets the value of the parentId property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getParentId() {
return parentId;
}
/**
* Sets the value of the parentId property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setParentId(String value) {
this.parentId = value;
}
/**
* Gets the value of the signatureFormat property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getSignatureFormat() {
return signatureFormat;
}
/**
* Sets the value of the signatureFormat property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setSignatureFormat(String value) {
this.signatureFormat = value;
}
}