eu.europa.esig.dss.diagnostic.jaxb.XmlByteRange Maven / Gradle / Ivy
Show all versions of dss-diagnostic-jaxb Show documentation
//
// 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.06.17 at 03:23:20 PM EEST
//
package eu.europa.esig.dss.diagnostic.jaxb;
import java.io.Serializable;
import java.math.BigInteger;
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.XmlType;
import jakarta.xml.bind.annotation.XmlValue;
/**
* Java class for ByteRange complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="ByteRange">
* <simpleContent>
* <extension base="<http://dss.esig.europa.eu/validation/diagnostic>int-list">
* <attribute name="valid" use="required" type="{http://www.w3.org/2001/XMLSchema}boolean" />
* </extension>
* </simpleContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "ByteRange", propOrder = {
"value"
})
public class XmlByteRange implements Serializable
{
private final static long serialVersionUID = 1L;
@XmlValue
protected List value;
@XmlAttribute(name = "valid", required = true)
protected boolean valid;
/**
* Gets the value of the value 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 value property.
*
*
* For example, to add a new item, do as follows:
*
* getValue().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link BigInteger }
*
*
*/
public List getValue() {
if (value == null) {
value = new ArrayList();
}
return this.value;
}
/**
* Gets the value of the valid property.
*
*/
public boolean isValid() {
return valid;
}
/**
* Sets the value of the valid property.
*
*/
public void setValid(boolean value) {
this.valid = value;
}
}