// // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.5-b10 // 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: 2012.05.06 at 06:41:10 PM CEST // package de.groothues.mysaml.assertion; 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.XmlElements; import javax.xml.bind.annotation.XmlSchemaType; import javax.xml.bind.annotation.XmlType; import javax.xml.datatype.XMLGregorianCalendar; /** * <p>Java class for ConditionsType complex type. * * <p>The following schema fragment specifies the expected content contained within this class. * * <pre> * <complexType name="ConditionsType"> * <complexContent> * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> * <choice maxOccurs="unbounded" minOccurs="0"> * <element ref="{urn:oasis:names:tc:SAML:2.0:assertion}Condition"/> * <element ref="{urn:oasis:names:tc:SAML:2.0:assertion}AudienceRestriction"/> * <element ref="{urn:oasis:names:tc:SAML:2.0:assertion}OneTimeUse"/> * <element ref="{urn:oasis:names:tc:SAML:2.0:assertion}ProxyRestriction"/> * </choice> * <attribute name="NotBefore" type="{http://www.w3.org/2001/XMLSchema}dateTime" /> * <attribute name="NotOnOrAfter" type="{http://www.w3.org/2001/XMLSchema}dateTime" /> * </restriction> * </complexContent> * </complexType> * </pre> * * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "ConditionsType", propOrder = { "conditionOrAudienceRestrictionOrOneTimeUse" }) public class ConditionsType { @XmlElements({ @XmlElement(name = "Condition"), @XmlElement(name = "AudienceRestriction", type = AudienceRestrictionType.class), @XmlElement(name = "OneTimeUse", type = OneTimeUseType.class), @XmlElement(name = "ProxyRestriction", type = ProxyRestrictionType.class) }) protected List<ConditionAbstractType> conditionOrAudienceRestrictionOrOneTimeUse; @XmlAttribute(name = "NotBefore") @XmlSchemaType(name = "dateTime") protected XMLGregorianCalendar notBefore; @XmlAttribute(name = "NotOnOrAfter") @XmlSchemaType(name = "dateTime") protected XMLGregorianCalendar notOnOrAfter; /** * Gets the value of the conditionOrAudienceRestrictionOrOneTimeUse 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 conditionOrAudienceRestrictionOrOneTimeUse property. * * <p> * For example, to add a new item, do as follows: * <pre> * getConditionOrAudienceRestrictionOrOneTimeUse().add(newItem); * </pre> * * * <p> * Objects of the following type(s) are allowed in the list * {@link ConditionAbstractType } * {@link AudienceRestrictionType } * {@link OneTimeUseType } * {@link ProxyRestrictionType } * * */ public List<ConditionAbstractType> getConditionOrAudienceRestrictionOrOneTimeUse() { if (conditionOrAudienceRestrictionOrOneTimeUse == null) { conditionOrAudienceRestrictionOrOneTimeUse = new ArrayList<ConditionAbstractType>(); } return this.conditionOrAudienceRestrictionOrOneTimeUse; } /** * Gets the value of the notBefore property. * * @return * possible object is * {@link XMLGregorianCalendar } * */ public XMLGregorianCalendar getNotBefore() { return notBefore; } /** * Sets the value of the notBefore property. * * @param value * allowed object is * {@link XMLGregorianCalendar } * */ public void setNotBefore(XMLGregorianCalendar value) { this.notBefore = value; } /** * Gets the value of the notOnOrAfter property. * * @return * possible object is * {@link XMLGregorianCalendar } * */ public XMLGregorianCalendar getNotOnOrAfter() { return notOnOrAfter; } /** * Sets the value of the notOnOrAfter property. * * @param value * allowed object is * {@link XMLGregorianCalendar } * */ public void setNotOnOrAfter(XMLGregorianCalendar value) { this.notOnOrAfter = value; } }