All Downloads are FREE. Search and download functionalities are using the official Maven repository.

eu.europa.esig.dss.diagnostic.jaxb.XmlSignerRole 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.Date;
import eu.europa.esig.dss.enumerations.EndorsementType;
import eu.europa.esig.dss.jaxb.parsers.DateParser;
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.XmlSchemaType;
import jakarta.xml.bind.annotation.XmlType;
import jakarta.xml.bind.annotation.adapters.XmlJavaTypeAdapter;


/**
 * 

Java class for SignerRole complex type. * *

The following schema fragment specifies the expected content contained within this class. * *

 * <complexType name="SignerRole">
 *   <complexContent>
 *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *       <sequence>
 *         <element name="Role" type="{http://www.w3.org/2001/XMLSchema}string"/>
 *         <element name="NotAfter" type="{http://www.w3.org/2001/XMLSchema}dateTime" minOccurs="0"/>
 *         <element name="NotBefore" type="{http://www.w3.org/2001/XMLSchema}dateTime" minOccurs="0"/>
 *       </sequence>
 *       <attribute name="Category" use="required" type="{http://dss.esig.europa.eu/validation/diagnostic}EndorsementType" />
 *     </restriction>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "SignerRole", propOrder = { "role", "notAfter", "notBefore" }) public class XmlSignerRole implements Serializable { private final static long serialVersionUID = 1L; @XmlElement(name = "Role", required = true) protected String role; @XmlElement(name = "NotAfter", type = String.class) @XmlJavaTypeAdapter(DateParser.class) @XmlSchemaType(name = "dateTime") protected Date notAfter; @XmlElement(name = "NotBefore", type = String.class) @XmlJavaTypeAdapter(DateParser.class) @XmlSchemaType(name = "dateTime") protected Date notBefore; @XmlAttribute(name = "Category", required = true) @XmlJavaTypeAdapter(Adapter9 .class) protected EndorsementType category; /** * Gets the value of the role property. * * @return * possible object is * {@link String } * */ public String getRole() { return role; } /** * Sets the value of the role property. * * @param value * allowed object is * {@link String } * */ public void setRole(String value) { this.role = value; } /** * Gets the value of the notAfter property. * * @return * possible object is * {@link String } * */ public Date getNotAfter() { return notAfter; } /** * Sets the value of the notAfter property. * * @param value * allowed object is * {@link String } * */ public void setNotAfter(Date value) { this.notAfter = value; } /** * Gets the value of the notBefore property. * * @return * possible object is * {@link String } * */ public Date getNotBefore() { return notBefore; } /** * Sets the value of the notBefore property. * * @param value * allowed object is * {@link String } * */ public void setNotBefore(Date value) { this.notBefore = value; } /** * Gets the value of the category property. * * @return * possible object is * {@link String } * */ public EndorsementType getCategory() { return category; } /** * Sets the value of the category property. * * @param value * allowed object is * {@link String } * */ public void setCategory(EndorsementType value) { this.category = value; } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy