eu.europa.esig.dss.diagnostic.jaxb.XmlNameConstraints 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.ArrayList;
import java.util.List;
import jakarta.xml.bind.annotation.XmlAccessType;
import jakarta.xml.bind.annotation.XmlAccessorType;
import jakarta.xml.bind.annotation.XmlElement;
import jakarta.xml.bind.annotation.XmlType;
/**
* Java class for NameConstraints complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="NameConstraints">
* <complexContent>
* <extension base="{http://dss.esig.europa.eu/validation/diagnostic}CertificateExtension">
* <sequence>
* <element name="PermittedSubtree" type="{http://dss.esig.europa.eu/validation/diagnostic}GeneralSubtree" maxOccurs="unbounded" minOccurs="0"/>
* <element name="ExcludedSubtree" type="{http://dss.esig.europa.eu/validation/diagnostic}GeneralSubtree" maxOccurs="unbounded" minOccurs="0"/>
* </sequence>
* </extension>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "NameConstraints", propOrder = {
"permittedSubtrees",
"excludedSubtrees"
})
public class XmlNameConstraints
extends XmlCertificateExtension
implements Serializable
{
private final static long serialVersionUID = 1L;
@XmlElement(name = "PermittedSubtree")
protected List permittedSubtrees;
@XmlElement(name = "ExcludedSubtree")
protected List excludedSubtrees;
/**
* Gets the value of the permittedSubtrees property.
*
*
* This accessor method returns a reference to the live list,
* not a snapshot. Therefore any modification you make to the
* returned list will be present inside the Jakarta XML Binding object.
* This is why there is not a set
method for the permittedSubtrees property.
*
*
* For example, to add a new item, do as follows:
*
* getPermittedSubtrees().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link XmlGeneralSubtree }
*
*
*/
public List getPermittedSubtrees() {
if (permittedSubtrees == null) {
permittedSubtrees = new ArrayList();
}
return this.permittedSubtrees;
}
/**
* Gets the value of the excludedSubtrees property.
*
*
* This accessor method returns a reference to the live list,
* not a snapshot. Therefore any modification you make to the
* returned list will be present inside the Jakarta XML Binding object.
* This is why there is not a set
method for the excludedSubtrees property.
*
*
* For example, to add a new item, do as follows:
*
* getExcludedSubtrees().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link XmlGeneralSubtree }
*
*
*/
public List getExcludedSubtrees() {
if (excludedSubtrees == null) {
excludedSubtrees = new ArrayList();
}
return this.excludedSubtrees;
}
}