eu.europa.esig.dss.diagnostic.jaxb.XmlAbstractToken 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 jakarta.xml.bind.annotation.XmlAccessType;
import jakarta.xml.bind.annotation.XmlAccessorType;
import jakarta.xml.bind.annotation.XmlAttribute;
import jakarta.xml.bind.annotation.XmlID;
import jakarta.xml.bind.annotation.XmlSchemaType;
import jakarta.xml.bind.annotation.XmlSeeAlso;
import jakarta.xml.bind.annotation.XmlType;
import jakarta.xml.bind.annotation.adapters.CollapsedStringAdapter;
import jakarta.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
/**
* Java class for AbstractToken complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="AbstractToken">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <attribute name="Id" use="required" type="{http://www.w3.org/2001/XMLSchema}ID" />
* <attribute name="Duplicated" type="{http://www.w3.org/2001/XMLSchema}boolean" />
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "AbstractToken")
@XmlSeeAlso({
XmlSignature.class,
XmlCertificate.class,
XmlTimestamp.class,
XmlRevocation.class,
XmlOrphanToken.class,
XmlSignerData.class,
XmlEvidenceRecord.class
})
public abstract class XmlAbstractToken implements Serializable
{
private final static long serialVersionUID = 1L;
@XmlAttribute(name = "Id", required = true)
@XmlJavaTypeAdapter(CollapsedStringAdapter.class)
@XmlID
@XmlSchemaType(name = "ID")
protected String id;
@XmlAttribute(name = "Duplicated")
protected Boolean duplicated;
/**
* Gets the value of the id property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getId() {
return id;
}
/**
* Sets the value of the id property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setId(String value) {
this.id = value;
}
/**
* Gets the value of the duplicated property.
*
* @return
* possible object is
* {@link Boolean }
*
*/
public Boolean isDuplicated() {
return duplicated;
}
/**
* Sets the value of the duplicated property.
*
* @param value
* allowed object is
* {@link Boolean }
*
*/
public void setDuplicated(Boolean value) {
this.duplicated = value;
}
}