// // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.1.5-b01-fcs // 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: 2008.05.01 at 05:38:23 PM WEST // package org.openxdm.xcap.client.appusage.presrules.jaxb.commonpolicy; import java.util.ArrayList; import java.util.List; import javax.xml.bind.JAXBElement; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlElementRef; import javax.xml.bind.annotation.XmlElementRefs; import javax.xml.bind.annotation.XmlRootElement; import javax.xml.bind.annotation.XmlType; import javax.xml.datatype.XMLGregorianCalendar; /** * <p>Java class for validityType complex type. * * <p>The following schema fragment specifies the expected content contained within this class. * * <pre> * <complexType name="validityType"> * <complexContent> * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> * <sequence maxOccurs="unbounded" minOccurs="0"> * <element name="from" type="{http://www.w3.org/2001/XMLSchema}dateTime"/> * <element name="until" type="{http://www.w3.org/2001/XMLSchema}dateTime"/> * </sequence> * </restriction> * </complexContent> * </complexType> * </pre> * * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "validityType", propOrder = { "fromAndUntil" }) @XmlRootElement(name = "validity",namespace="urn:ietf:params:xml:ns:common-policy") public class ValidityType { @XmlElementRefs({ @XmlElementRef(name = "from", namespace = "urn:ietf:params:xml:ns:common-policy", type = JAXBElement.class), @XmlElementRef(name = "until", namespace = "urn:ietf:params:xml:ns:common-policy", type = JAXBElement.class) }) protected List<JAXBElement<XMLGregorianCalendar>> fromAndUntil; /** * Gets the value of the fromAndUntil 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 fromAndUntil property. * * <p> * For example, to add a new item, do as follows: * <pre> * getFromAndUntil().add(newItem); * </pre> * * * <p> * Objects of the following type(s) are allowed in the list * {@link JAXBElement }{@code <}{@link XMLGregorianCalendar }{@code >} * {@link JAXBElement }{@code <}{@link XMLGregorianCalendar }{@code >} * * */ public List<JAXBElement<XMLGregorianCalendar>> getFromAndUntil() { if (fromAndUntil == null) { fromAndUntil = new ArrayList<JAXBElement<XMLGregorianCalendar>>(); } return this.fromAndUntil; } }