/** * The contents of this file are subject to the Mozilla Public License * Version 1.1 (the "License"); you may not use this file except in * compliance with the License. You may obtain a copy of the License at * http://www.mozilla.org/MPL/ * * Software distributed under the License is distributed on an "AS IS" * basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the * License for the specific language governing rights and limitations * under the License. * * The Original Code is available at https://svn.forge.morfeo-project.org/claudia * * The Initial Developer of the Original Code is Telefonica Investigacion y Desarrollo S.A.U., * (http://www.tid.es), Emilio Vargas 6, 28043 Madrid, Spain. .* * No portions of the Code have been created by third parties. * All Rights Reserved. * * Contributor(s): ______________________________________. * */ // // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.2-147 // 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: 2009.12.23 at 02:26:18 PM CET // package org.dmtf.schemas.wbem.wscim._1.common; import java.util.HashMap; import java.util.Map; import javax.xml.bind.JAXBElement; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlAnyAttribute; import javax.xml.bind.annotation.XmlElement; import javax.xml.bind.annotation.XmlElementRef; import javax.xml.bind.annotation.XmlSchemaType; import javax.xml.bind.annotation.XmlType; import javax.xml.datatype.Duration; import javax.xml.datatype.XMLGregorianCalendar; import javax.xml.namespace.QName; /** * <p>Java class for cimDateTime complex type. * * <p>The following schema fragment specifies the expected content contained within this class. * * <pre> * <complexType name="cimDateTime"> * <complexContent> * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> * <choice> * <element name="CIM_DateTime" type="{http://www.w3.org/2001/XMLSchema}string"/> * <element name="Interval" type="{http://www.w3.org/2001/XMLSchema}duration"/> * <element name="Date" type="{http://www.w3.org/2001/XMLSchema}date"/> * <element name="Time" type="{http://www.w3.org/2001/XMLSchema}time"/> * <element name="Datetime" type="{http://www.w3.org/2001/XMLSchema}dateTime"/> * </choice> * <anyAttribute processContents='lax'/> * </restriction> * </complexContent> * </complexType> * </pre> * * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "cimDateTime", propOrder = { "cimDateTime", "interval", "date", "time", "datetime" }) public class CimDateTime { @XmlElementRef(name = "CIM_DateTime", namespace = "http://schemas.dmtf.org/wbem/wscim/1/common", type = JAXBElement.class) protected JAXBElement<String> cimDateTime; @XmlElement(name = "Interval") protected Duration interval; @XmlElement(name = "Date") @XmlSchemaType(name = "date") protected XMLGregorianCalendar date; @XmlElement(name = "Time") @XmlSchemaType(name = "time") protected XMLGregorianCalendar time; @XmlElement(name = "Datetime") @XmlSchemaType(name = "dateTime") protected XMLGregorianCalendar datetime; @XmlAnyAttribute private Map<QName, String> otherAttributes = new HashMap<QName, String>(); /** * Gets the value of the cimDateTime property. * * @return * possible object is * {@link JAXBElement }{@code <}{@link String }{@code >} * */ public JAXBElement<String> getCIMDateTime() { return cimDateTime; } /** * Sets the value of the cimDateTime property. * * @param value * allowed object is * {@link JAXBElement }{@code <}{@link String }{@code >} * */ public void setCIMDateTime(JAXBElement<String> value) { this.cimDateTime = ((JAXBElement<String> ) value); } /** * Gets the value of the interval property. * * @return * possible object is * {@link Duration } * */ public Duration getInterval() { return interval; } /** * Sets the value of the interval property. * * @param value * allowed object is * {@link Duration } * */ public void setInterval(Duration value) { this.interval = value; } /** * Gets the value of the date property. * * @return * possible object is * {@link XMLGregorianCalendar } * */ public XMLGregorianCalendar getDate() { return date; } /** * Sets the value of the date property. * * @param value * allowed object is * {@link XMLGregorianCalendar } * */ public void setDate(XMLGregorianCalendar value) { this.date = value; } /** * Gets the value of the time property. * * @return * possible object is * {@link XMLGregorianCalendar } * */ public XMLGregorianCalendar getTime() { return time; } /** * Sets the value of the time property. * * @param value * allowed object is * {@link XMLGregorianCalendar } * */ public void setTime(XMLGregorianCalendar value) { this.time = value; } /** * Gets the value of the datetime property. * * @return * possible object is * {@link XMLGregorianCalendar } * */ public XMLGregorianCalendar getDatetime() { return datetime; } /** * Sets the value of the datetime property. * * @param value * allowed object is * {@link XMLGregorianCalendar } * */ public void setDatetime(XMLGregorianCalendar value) { this.datetime = value; } /** * Gets a map that contains attributes that aren't bound to any typed property on this class. * * <p> * the map is keyed by the name of the attribute and * the value is the string value of the attribute. * * the map returned by this method is live, and you can add new attribute * by updating the map directly. Because of this design, there's no setter. * * * @return * always non-null */ public Map<QName, String> getOtherAttributes() { return otherAttributes; } }