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 Details

  • Constructor Details

  • Method Details

    • 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 is XmlPolicy
    • 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 is String
    • 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 is String
    • 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 is String
    • 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 set method 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