001: //
002: // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-3509
003: // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
004: // Any modifications to this file will be lost upon recompilation of the source schema.
005: // Generated on: 2006.09.12 at 08:57:41 PM IST
006: //
007:
008: package com.sun.xml.wss.saml.internal.saml20.jaxb20;
009:
010: import java.util.ArrayList;
011: import java.util.List;
012: import javax.xml.bind.annotation.XmlAccessType;
013: import javax.xml.bind.annotation.XmlAccessorType;
014: import javax.xml.bind.annotation.XmlAttribute;
015: import javax.xml.bind.annotation.XmlElement;
016: import javax.xml.bind.annotation.XmlElements;
017: import javax.xml.bind.annotation.XmlRootElement;
018: import javax.xml.bind.annotation.XmlType;
019: import javax.xml.datatype.XMLGregorianCalendar;
020:
021: /**
022: * <p>Java class for ConditionsType complex type.
023: *
024: * <p>The following schema fragment specifies the expected content contained within this class.
025: *
026: * <pre>
027: * <complexType name="ConditionsType">
028: * <complexContent>
029: * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
030: * <choice maxOccurs="unbounded" minOccurs="0">
031: * <element ref="{urn:oasis:names:tc:SAML:2.0:assertion}Condition"/>
032: * <element ref="{urn:oasis:names:tc:SAML:2.0:assertion}AudienceRestriction"/>
033: * <element ref="{urn:oasis:names:tc:SAML:2.0:assertion}OneTimeUse"/>
034: * <element ref="{urn:oasis:names:tc:SAML:2.0:assertion}ProxyRestriction"/>
035: * </choice>
036: * <attribute name="NotBefore" type="{http://www.w3.org/2001/XMLSchema}dateTime" />
037: * <attribute name="NotOnOrAfter" type="{http://www.w3.org/2001/XMLSchema}dateTime" />
038: * </restriction>
039: * </complexContent>
040: * </complexType>
041: * </pre>
042: *
043: *
044: */
045: @XmlRootElement(name="Conditions")
046: @XmlAccessorType(XmlAccessType.FIELD)
047: @XmlType(name="ConditionsType",propOrder={"conditionOrAudienceRestrictionOrOneTimeUse"})
048: public class ConditionsType {
049:
050: @XmlElements({@XmlElement(name="AudienceRestriction",type=AudienceRestrictionType.class),@XmlElement(name="Condition"),@XmlElement(name="OneTimeUse",type=OneTimeUseType.class),@XmlElement(name="ProxyRestriction",type=ProxyRestrictionType.class)})
051: protected List<ConditionAbstractType> conditionOrAudienceRestrictionOrOneTimeUse;
052: @XmlAttribute(name="NotBefore")
053: protected XMLGregorianCalendar notBefore;
054: @XmlAttribute(name="NotOnOrAfter")
055: protected XMLGregorianCalendar notOnOrAfter;
056:
057: /**
058: * Gets the value of the conditionOrAudienceRestrictionOrOneTimeUse property.
059: *
060: * <p>
061: * This accessor method returns a reference to the live list,
062: * not a snapshot. Therefore any modification you make to the
063: * returned list will be present inside the JAXB object.
064: * This is why there is not a <CODE>set</CODE> method for the conditionOrAudienceRestrictionOrOneTimeUse property.
065: *
066: * <p>
067: * For example, to add a new item, do as follows:
068: * <pre>
069: * getConditionOrAudienceRestrictionOrOneTimeUse().add(newItem);
070: * </pre>
071: *
072: *
073: * <p>
074: * Objects of the following type(s) are allowed in the list
075: * {@link AudienceRestrictionType }
076: * {@link ConditionAbstractType }
077: * {@link OneTimeUseType }
078: * {@link ProxyRestrictionType }
079: *
080: *
081: */
082: public List<ConditionAbstractType> getConditionOrAudienceRestrictionOrOneTimeUse() {
083: if (conditionOrAudienceRestrictionOrOneTimeUse == null) {
084: conditionOrAudienceRestrictionOrOneTimeUse = new ArrayList<ConditionAbstractType>();
085: }
086: return this .conditionOrAudienceRestrictionOrOneTimeUse;
087: }
088:
089: /**
090: * Gets the value of the notBefore property.
091: *
092: * @return
093: * possible object is
094: * {@link XMLGregorianCalendar }
095: *
096: */
097: public XMLGregorianCalendar getNotBefore() {
098: return notBefore;
099: }
100:
101: /**
102: * Sets the value of the notBefore property.
103: *
104: * @param value
105: * allowed object is
106: * {@link XMLGregorianCalendar }
107: *
108: */
109: public void setNotBefore(XMLGregorianCalendar value) {
110: this .notBefore = value;
111: }
112:
113: /**
114: * Gets the value of the notOnOrAfter property.
115: *
116: * @return
117: * possible object is
118: * {@link XMLGregorianCalendar }
119: *
120: */
121: public XMLGregorianCalendar getNotOnOrAfter() {
122: return notOnOrAfter;
123: }
124:
125: /**
126: * Sets the value of the notOnOrAfter property.
127: *
128: * @param value
129: * allowed object is
130: * {@link XMLGregorianCalendar }
131: *
132: */
133: public void setNotOnOrAfter(XMLGregorianCalendar value) {
134: this.notOnOrAfter = value;
135: }
136:
137: }
|