![JAR search and dependency download from the Maven repository](/logo.png)
org.xipki.ca.certprofile.x509.jaxb.Restriction Maven / Gradle / Ivy
The newest version!
package org.xipki.ca.certprofile.x509.jaxb;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlSchemaType;
import javax.xml.bind.annotation.XmlType;
/**
* Java class for anonymous complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="type" type="{http://xipki.org/ca/xmlprofile/v2}directoryStringType"/>
* <element name="text" type="{http://www.w3.org/2001/XMLSchema}string"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"type",
"text"
})
@XmlRootElement(name = "restriction")
public class Restriction {
@XmlElement(required = true)
@XmlSchemaType(name = "normalizedString")
protected DirectoryStringType type;
@XmlElement(required = true)
protected String text;
/**
* Gets the value of the type property.
*
* @return
* possible object is
* {@link DirectoryStringType }
*
*/
public DirectoryStringType getType() {
return type;
}
/**
* Sets the value of the type property.
*
* @param value
* allowed object is
* {@link DirectoryStringType }
*
*/
public void setType(DirectoryStringType value) {
this.type = value;
}
/**
* Gets the value of the text property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getText() {
return text;
}
/**
* Sets the value of the text property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setText(String value) {
this.text = value;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy