Class XmlStructuralValidation

java.lang.Object
eu.europa.esig.dss.diagnostic.jaxb.XmlStructuralValidation
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
XmlArchiveTimestampHashIndex

public class XmlStructuralValidation extends Object implements Serializable

Java class for StructuralValidation complex type.

The following schema fragment specifies the expected content contained within this class.

<complexType name="StructuralValidation">
  <complexContent>
    <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
      <sequence>
        <element name="Message" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
      </sequence>
      <attribute name="valid" use="required" type="{http://www.w3.org/2001/XMLSchema}boolean" />
    </restriction>
  </complexContent>
</complexType>
See Also:
  • Field Details

    • messages

      protected List<String> messages
    • valid

      protected boolean valid
  • Constructor Details

    • XmlStructuralValidation

      public XmlStructuralValidation()
  • Method Details

    • getMessages

      public List<String> getMessages()
      Gets the value of the messages 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 Jakarta XML Binding object. This is why there is not a set method for the messages property.

      For example, to add a new item, do as follows:

         getMessages().add(newItem);
      

      Objects of the following type(s) are allowed in the list String

    • isValid

      public boolean isValid()
      Gets the value of the valid property.
    • setValid

      public void setValid(boolean value)
      Sets the value of the valid property.