Class XmlSimpleReport
- java.lang.Object
-
- eu.europa.esig.dss.simplereport.jaxb.XmlSimpleReport
-
- All Implemented Interfaces:
Serializable
public class XmlSimpleReport extends Object implements Serializable
Java class for SimpleReport complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="SimpleReport"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="Policy"> <complexType> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="PolicyName" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> <element name="PolicyDescription" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> </sequence> </restriction> </complexContent> </complexType> </element> <element name="ValidationTime" type="{http://www.w3.org/2001/XMLSchema}dateTime"/> <element name="DocumentName" type="{http://www.w3.org/2001/XMLSchema}string"/> <element name="ValidSignaturesCount" type="{http://www.w3.org/2001/XMLSchema}int"/> <element name="SignaturesCount" type="{http://www.w3.org/2001/XMLSchema}int"/> <element name="ContainerType" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> <element name="Signature" maxOccurs="unbounded" minOccurs="0"> <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="BestSignatureTime" type="{http://www.w3.org/2001/XMLSchema}dateTime" minOccurs="0"/> <element name="SignedBy" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> <element name="CertificateChain" type="{http://dss.esig.europa.eu/validation/simple-report}CertificateChain" minOccurs="0"/> <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="CounterSignature" type="{http://www.w3.org/2001/XMLSchema}boolean" /> <attribute name="ParentId" type="{http://www.w3.org/2001/XMLSchema}string" /> <attribute name="SignatureFormat" use="required" type="{http://dss.esig.europa.eu/validation/simple-report}SignatureFormat" /> </restriction> </complexContent> </complexType> </element> </sequence> </restriction> </complexContent> </complexType>- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected StringcontainerTypeprotected StringdocumentNameprotected XmlPolicypolicyprotected List<XmlSignature>signatureprotected intsignaturesCountprotected DatevalidationTimeprotected intvalidSignaturesCount
-
Constructor Summary
Constructors Constructor Description XmlSimpleReport()
-
Method Summary
Modifier and Type Method Description StringgetContainerType()Gets the value of the containerType property.StringgetDocumentName()Gets the value of the documentName property.XmlPolicygetPolicy()Gets the value of the policy property.List<XmlSignature>getSignature()Gets the value of the signature property.intgetSignaturesCount()Gets the value of the signaturesCount property.DategetValidationTime()Gets the value of the validationTime property.intgetValidSignaturesCount()Gets the value of the validSignaturesCount property.voidsetContainerType(String value)Sets the value of the containerType property.voidsetDocumentName(String value)Sets the value of the documentName property.voidsetPolicy(XmlPolicy value)Sets the value of the policy property.voidsetSignaturesCount(int value)Sets the value of the signaturesCount property.voidsetValidationTime(Date value)Sets the value of the validationTime property.voidsetValidSignaturesCount(int value)Sets the value of the validSignaturesCount property.
-
-
-
Field Detail
-
policy
protected XmlPolicy policy
-
validationTime
protected Date validationTime
-
documentName
protected String documentName
-
validSignaturesCount
protected int validSignaturesCount
-
signaturesCount
protected int signaturesCount
-
containerType
protected String containerType
-
signature
protected List<XmlSignature> signature
-
-
Method Detail
-
getPolicy
public XmlPolicy getPolicy()
Gets the value of the policy property.- Returns:
- possible object is
XmlPolicy
-
setPolicy
public void setPolicy(XmlPolicy value)
Sets the value of the policy property.- Parameters:
value- allowed object isXmlPolicy
-
getValidationTime
public Date getValidationTime()
Gets the value of the validationTime property.- Returns:
- possible object is
String
-
setValidationTime
public void setValidationTime(Date value)
Sets the value of the validationTime property.- Parameters:
value- allowed object isString
-
getDocumentName
public String getDocumentName()
Gets the value of the documentName property.- Returns:
- possible object is
String
-
setDocumentName
public void setDocumentName(String value)
Sets the value of the documentName property.- Parameters:
value- allowed object isString
-
getValidSignaturesCount
public int getValidSignaturesCount()
Gets the value of the validSignaturesCount property.
-
setValidSignaturesCount
public void setValidSignaturesCount(int value)
Sets the value of the validSignaturesCount property.
-
getSignaturesCount
public int getSignaturesCount()
Gets the value of the signaturesCount property.
-
setSignaturesCount
public void setSignaturesCount(int value)
Sets the value of the signaturesCount property.
-
getContainerType
public String getContainerType()
Gets the value of the containerType property.- Returns:
- possible object is
String
-
setContainerType
public void setContainerType(String value)
Sets the value of the containerType property.- Parameters:
value- allowed object isString
-
getSignature
public List<XmlSignature> getSignature()
Gets the value of the signature property.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
setmethod for the signature property.For example, to add a new item, do as follows:
getSignature().add(newItem);Objects of the following type(s) are allowed in the list
XmlSignature
-
-