eu.europa.esig.dss.diagnostic.jaxb.XmlStructuralValidation Maven / Gradle / Ivy
//
// This file was generated by the Eclipse Implementation of JAXB, v3.0.2
// See https://eclipse-ee4j.github.io/jaxb-ri
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2024.09.11 at 03:26:28 PM CEST
//
package eu.europa.esig.dss.diagnostic.jaxb;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;
import jakarta.xml.bind.annotation.XmlAccessType;
import jakarta.xml.bind.annotation.XmlAccessorType;
import jakarta.xml.bind.annotation.XmlAttribute;
import jakarta.xml.bind.annotation.XmlElement;
import jakarta.xml.bind.annotation.XmlType;
/**
* 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" type="{http://www.w3.org/2001/XMLSchema}boolean" />
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "StructuralValidation", propOrder = {
"messages"
})
public class XmlStructuralValidation implements Serializable
{
private final static long serialVersionUID = 1L;
@XmlElement(name = "Message")
protected List messages;
@XmlAttribute(name = "valid")
protected Boolean valid;
/**
* 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
* {@link String }
*
*
*/
public List getMessages() {
if (messages == null) {
messages = new ArrayList();
}
return this.messages;
}
/**
* Gets the value of the valid property.
*
* @return
* possible object is
* {@link Boolean }
*
*/
public Boolean isValid() {
return valid;
}
/**
* Sets the value of the valid property.
*
* @param value
* allowed object is
* {@link Boolean }
*
*/
public void setValid(Boolean value) {
this.valid = value;
}
}