Class 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="ValidationPolicy">
<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="DocumentName" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<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://dss.esig.europa.eu/validation/simple-report}ContainerType" minOccurs="0"/>
<choice maxOccurs="unbounded" minOccurs="0">
<element name="Signature" type="{http://dss.esig.europa.eu/validation/simple-report}Signature"/>
<element name="Timestamp" type="{http://dss.esig.europa.eu/validation/simple-report}Timestamp"/>
</choice>
<element name="Semantic" type="{http://dss.esig.europa.eu/validation/simple-report}Semantic" maxOccurs="unbounded" minOccurs="0"/>
</sequence>
<attribute name="ValidationTime" type="{http://www.w3.org/2001/XMLSchema}dateTime" />
</restriction>
</complexContent>
</complexType>
- See Also:
- Serialized Form
-
Field Summary
Fields Modifier and Type Field Description protected ASiCContainerTypecontainerTypeprotected StringdocumentNameprotected List<XmlSemantic>semanticprotected List<XmlToken>signatureOrTimestampprotected intsignaturesCountprotected XmlValidationPolicyvalidationPolicyprotected DatevalidationTimeprotected intvalidSignaturesCount -
Constructor Summary
Constructors Constructor Description XmlSimpleReport() -
Method Summary
Modifier and Type Method Description ASiCContainerTypegetContainerType()Gets the value of the containerType property.StringgetDocumentName()Gets the value of the documentName property.List<XmlSemantic>getSemantic()Gets the value of the semantic property.List<XmlToken>getSignatureOrTimestamp()Gets the value of the signatureOrTimestamp property.intgetSignaturesCount()Gets the value of the signaturesCount property.XmlValidationPolicygetValidationPolicy()Gets the value of the validationPolicy property.DategetValidationTime()Gets the value of the validationTime property.intgetValidSignaturesCount()Gets the value of the validSignaturesCount property.voidsetContainerType(ASiCContainerType value)Sets the value of the containerType property.voidsetDocumentName(String value)Sets the value of the documentName property.voidsetSignaturesCount(int value)Sets the value of the signaturesCount property.voidsetValidationPolicy(XmlValidationPolicy value)Sets the value of the validationPolicy property.voidsetValidationTime(Date value)Sets the value of the validationTime property.voidsetValidSignaturesCount(int value)Sets the value of the validSignaturesCount property.
-
Field Details
-
validationPolicy
-
documentName
-
validSignaturesCount
protected int validSignaturesCount -
signaturesCount
protected int signaturesCount -
containerType
-
signatureOrTimestamp
-
semantic
-
validationTime
-
-
Constructor Details
-
XmlSimpleReport
public XmlSimpleReport()
-
-
Method Details
-
getValidationPolicy
Gets the value of the validationPolicy property.- Returns:
- possible object is
XmlValidationPolicy
-
setValidationPolicy
Sets the value of the validationPolicy property.- Parameters:
value- allowed object isXmlValidationPolicy
-
getDocumentName
Gets the value of the documentName property.- Returns:
- possible object is
String
-
setDocumentName
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
Gets the value of the containerType property.- Returns:
- possible object is
String
-
setContainerType
Sets the value of the containerType property.- Parameters:
value- allowed object isString
-
getSignatureOrTimestamp
Gets the value of the signatureOrTimestamp 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 signatureOrTimestamp property.For example, to add a new item, do as follows:
getSignatureOrTimestamp().add(newItem);Objects of the following type(s) are allowed in the list
XmlSignatureXmlTimestamp -
getSemantic
Gets the value of the semantic 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 semantic property.For example, to add a new item, do as follows:
getSemantic().add(newItem);Objects of the following type(s) are allowed in the list
XmlSemantic -
getValidationTime
Gets the value of the validationTime property.- Returns:
- possible object is
String
-
setValidationTime
Sets the value of the validationTime property.- Parameters:
value- allowed object isString
-