//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.7
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2016.08.26 at 02:35:27 PM CEST
//
package eu.europa.esig.jaxb.ecc;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;
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.XmlType;
import eu.europa.esig.jaxb.xades.AnyType;
/**
* Please first try to use the CriteriaList before doing the OtherCriteria extension point.
*
* <p>Java class for CriteriaListType complex type.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>
* <complexType name="CriteriaListType">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="KeyUsage" type="{http://uri.etsi.org/TrstSvc/SvcInfoExt/eSigDir-1999-93-EC-TrustedList/#}KeyUsageType" maxOccurs="unbounded" minOccurs="0"/>
* <element name="PolicySet" type="{http://uri.etsi.org/TrstSvc/SvcInfoExt/eSigDir-1999-93-EC-TrustedList/#}PoliciesListType" maxOccurs="unbounded" minOccurs="0"/>
* <element name="CriteriaList" type="{http://uri.etsi.org/TrstSvc/SvcInfoExt/eSigDir-1999-93-EC-TrustedList/#}CriteriaListType" maxOccurs="unbounded" minOccurs="0"/>
* <element name="Description" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="otherCriteriaList" type="{http://uri.etsi.org/01903/v1.3.2#}AnyType" minOccurs="0"/>
* </sequence>
* <attribute name="assert">
* <simpleType>
* <restriction base="{http://www.w3.org/2001/XMLSchema}string">
* <enumeration value="all"/>
* <enumeration value="atLeastOne"/>
* <enumeration value="none"/>
* </restriction>
* </simpleType>
* </attribute>
* </restriction>
* </complexContent>
* </complexType>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "CriteriaListType", propOrder = {
"keyUsage",
"policySet",
"criteriaList",
"description",
"otherCriteriaList"
})
public class CriteriaListType
implements Serializable
{
private final static long serialVersionUID = 1L;
@XmlElement(name = "KeyUsage")
protected List<KeyUsageType> keyUsage;
@XmlElement(name = "PolicySet")
protected List<PoliciesListType> policySet;
@XmlElement(name = "CriteriaList")
protected List<CriteriaListType> criteriaList;
@XmlElement(name = "Description")
protected String description;
protected AnyType otherCriteriaList;
@XmlAttribute(name = "assert")
protected String _assert;
/**
* Gets the value of the keyUsage property.
*
* <p>
* 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 JAXB object.
* This is why there is not a <CODE>set</CODE> method for the keyUsage property.
*
* <p>
* For example, to add a new item, do as follows:
* <pre>
* getKeyUsage().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list
* {@link KeyUsageType }
*
*
*/
public List<KeyUsageType> getKeyUsage() {
if (keyUsage == null) {
keyUsage = new ArrayList<KeyUsageType>();
}
return this.keyUsage;
}
/**
* Gets the value of the policySet property.
*
* <p>
* 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 JAXB object.
* This is why there is not a <CODE>set</CODE> method for the policySet property.
*
* <p>
* For example, to add a new item, do as follows:
* <pre>
* getPolicySet().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list
* {@link PoliciesListType }
*
*
*/
public List<PoliciesListType> getPolicySet() {
if (policySet == null) {
policySet = new ArrayList<PoliciesListType>();
}
return this.policySet;
}
/**
* Gets the value of the criteriaList property.
*
* <p>
* 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 JAXB object.
* This is why there is not a <CODE>set</CODE> method for the criteriaList property.
*
* <p>
* For example, to add a new item, do as follows:
* <pre>
* getCriteriaList().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list
* {@link CriteriaListType }
*
*
*/
public List<CriteriaListType> getCriteriaList() {
if (criteriaList == null) {
criteriaList = new ArrayList<CriteriaListType>();
}
return this.criteriaList;
}
/**
* Gets the value of the description property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getDescription() {
return description;
}
/**
* Sets the value of the description property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setDescription(String value) {
this.description = value;
}
/**
* Gets the value of the otherCriteriaList property.
*
* @return
* possible object is
* {@link AnyType }
*
*/
public AnyType getOtherCriteriaList() {
return otherCriteriaList;
}
/**
* Sets the value of the otherCriteriaList property.
*
* @param value
* allowed object is
* {@link AnyType }
*
*/
public void setOtherCriteriaList(AnyType value) {
this.otherCriteriaList = value;
}
/**
* Gets the value of the assert property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getAssert() {
return _assert;
}
/**
* Sets the value of the assert property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setAssert(String value) {
this._assert = value;
}
}