eu.europa.esig.dss.diagnostic.jaxb.XmlTimestampedObject 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 eu.europa.esig.dss.enumerations.TimestampedObjectType;
import jakarta.xml.bind.annotation.XmlAccessType;
import jakarta.xml.bind.annotation.XmlAccessorType;
import jakarta.xml.bind.annotation.XmlAttribute;
import jakarta.xml.bind.annotation.XmlIDREF;
import jakarta.xml.bind.annotation.XmlSchemaType;
import jakarta.xml.bind.annotation.XmlType;
import jakarta.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
/**
* Java class for TimestampedObject complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="TimestampedObject">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* </sequence>
* <attribute name="Token" use="required" type="{http://www.w3.org/2001/XMLSchema}IDREF" />
* <attribute name="Category" use="required" type="{http://dss.esig.europa.eu/validation/diagnostic}TimestampedObjectType" />
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "TimestampedObject")
public class XmlTimestampedObject implements Serializable
{
private final static long serialVersionUID = 1L;
@XmlAttribute(name = "Token", required = true)
@XmlIDREF
@XmlSchemaType(name = "IDREF")
protected XmlAbstractToken token;
@XmlAttribute(name = "Category", required = true)
@XmlJavaTypeAdapter(Adapter8 .class)
protected TimestampedObjectType category;
/**
* Gets the value of the token property.
*
* @return
* possible object is
* {@link Object }
*
*/
public XmlAbstractToken getToken() {
return token;
}
/**
* Sets the value of the token property.
*
* @param value
* allowed object is
* {@link Object }
*
*/
public void setToken(XmlAbstractToken value) {
this.token = value;
}
/**
* Gets the value of the category property.
*
* @return
* possible object is
* {@link String }
*
*/
public TimestampedObjectType getCategory() {
return category;
}
/**
* Sets the value of the category property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setCategory(TimestampedObjectType value) {
this.category = value;
}
}