eu.europa.esig.dss.diagnostic.jaxb.XmlDigestMatcher Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of dss-diagnostic-jaxb Show documentation
Show all versions of dss-diagnostic-jaxb Show documentation
Generated source from XSD for Diagnostic Data.
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.3.0
// See https://javaee.github.io/jaxb-v2/
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2021.10.20 at 09:59:47 AM EEST
//
package eu.europa.esig.dss.diagnostic.jaxb;
import java.io.Serializable;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlType;
import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
import eu.europa.esig.dss.enumerations.DigestMatcherType;
/**
* Java class for DigestMatcher complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="DigestMatcher">
* <complexContent>
* <extension base="{http://dss.esig.europa.eu/validation/diagnostic}DigestAlgoAndValue">
* <sequence>
* <element name="DataFound" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
* <element name="DataIntact" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
* </sequence>
* <attribute name="type" use="required" type="{http://dss.esig.europa.eu/validation/diagnostic}DigestMatcherType" />
* <attribute name="name" type="{http://www.w3.org/2001/XMLSchema}string" />
* <attribute name="duplicated" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
* </extension>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "DigestMatcher", propOrder = {
"dataFound",
"dataIntact"
})
public class XmlDigestMatcher
extends XmlDigestAlgoAndValue
implements Serializable
{
private final static long serialVersionUID = 1L;
@XmlElement(name = "DataFound")
protected boolean dataFound;
@XmlElement(name = "DataIntact")
protected boolean dataIntact;
@XmlAttribute(name = "type", required = true)
@XmlJavaTypeAdapter(Adapter7 .class)
protected DigestMatcherType type;
@XmlAttribute(name = "name")
protected String name;
@XmlAttribute(name = "duplicated")
protected Boolean duplicated;
/**
* Gets the value of the dataFound property.
*
*/
public boolean isDataFound() {
return dataFound;
}
/**
* Sets the value of the dataFound property.
*
*/
public void setDataFound(boolean value) {
this.dataFound = value;
}
/**
* Gets the value of the dataIntact property.
*
*/
public boolean isDataIntact() {
return dataIntact;
}
/**
* Sets the value of the dataIntact property.
*
*/
public void setDataIntact(boolean value) {
this.dataIntact = value;
}
/**
* Gets the value of the type property.
*
* @return
* possible object is
* {@link String }
*
*/
public DigestMatcherType getType() {
return type;
}
/**
* Sets the value of the type property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setType(DigestMatcherType value) {
this.type = value;
}
/**
* Gets the value of the name property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getName() {
return name;
}
/**
* Sets the value of the name property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setName(String value) {
this.name = value;
}
/**
* Gets the value of the duplicated property.
*
* @return
* possible object is
* {@link Boolean }
*
*/
public boolean isDuplicated() {
if (duplicated == null) {
return false;
} else {
return duplicated;
}
}
/**
* Sets the value of the duplicated property.
*
* @param value
* allowed object is
* {@link Boolean }
*
*/
public void setDuplicated(Boolean value) {
this.duplicated = value;
}
}