eu.europa.esig.dss.diagnostic.jaxb.XmlSignerRole 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 java.util.Date;
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.XmlSchemaType;
import javax.xml.bind.annotation.XmlType;
import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
import eu.europa.esig.dss.enumerations.EndorsementType;
/**
* 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(Adapter1 .class)
@XmlSchemaType(name = "dateTime")
protected Date notAfter;
@XmlElement(name = "NotBefore", type = String.class)
@XmlJavaTypeAdapter(Adapter1 .class)
@XmlSchemaType(name = "dateTime")
protected Date notBefore;
@XmlAttribute(name = "Category", required = true)
@XmlJavaTypeAdapter(Adapter6 .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;
}
}