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 ASiCContainerType
containerType
protected String
documentName
protected List<XmlSemantic>
semantic
protected List<XmlToken>
signatureOrTimestamp
protected int
signaturesCount
protected XmlValidationPolicy
validationPolicy
protected Date
validationTime
protected int
validSignaturesCount
-
Constructor Summary
Constructors Constructor Description XmlSimpleReport()
-
Method Summary
Modifier and Type Method Description ASiCContainerType
getContainerType()
Gets the value of the containerType property.String
getDocumentName()
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.int
getSignaturesCount()
Gets the value of the signaturesCount property.XmlValidationPolicy
getValidationPolicy()
Gets the value of the validationPolicy property.Date
getValidationTime()
Gets the value of the validationTime property.int
getValidSignaturesCount()
Gets the value of the validSignaturesCount property.void
setContainerType(ASiCContainerType value)
Sets the value of the containerType property.void
setDocumentName(String value)
Sets the value of the documentName property.void
setSignaturesCount(int value)
Sets the value of the signaturesCount property.void
setValidationPolicy(XmlValidationPolicy value)
Sets the value of the validationPolicy property.void
setValidationTime(Date value)
Sets the value of the validationTime property.void
setValidSignaturesCount(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
set
method 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
XmlSignature
XmlTimestamp
-
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
set
method 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
-