eu.europa.esig.dss.diagnostic.jaxb.XmlGeneralName 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.GeneralNameType;
import jakarta.xml.bind.annotation.XmlAccessType;
import jakarta.xml.bind.annotation.XmlAccessorType;
import jakarta.xml.bind.annotation.XmlAttribute;
import jakarta.xml.bind.annotation.XmlSeeAlso;
import jakarta.xml.bind.annotation.XmlType;
import jakarta.xml.bind.annotation.XmlValue;
import jakarta.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
/**
* Java class for GeneralName complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="GeneralName">
* <simpleContent>
* <extension base="<http://www.w3.org/2001/XMLSchema>string">
* <attribute name="type" type="{http://dss.esig.europa.eu/validation/diagnostic}GeneralNameType" />
* </extension>
* </simpleContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "GeneralName", propOrder = {
"value"
})
@XmlSeeAlso({
XmlGeneralSubtree.class
})
public class XmlGeneralName implements Serializable
{
private final static long serialVersionUID = 1L;
@XmlValue
protected String value;
@XmlAttribute(name = "type")
@XmlJavaTypeAdapter(Adapter5 .class)
protected GeneralNameType type;
/**
* Gets the value of the value property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getValue() {
return value;
}
/**
* Sets the value of the value property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setValue(String value) {
this.value = value;
}
/**
* Gets the value of the type property.
*
* @return
* possible object is
* {@link String }
*
*/
public GeneralNameType getType() {
return type;
}
/**
* Sets the value of the type property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setType(GeneralNameType value) {
this.type = value;
}
}