/**
* Abiquo community edition
* cloud management application for hybrid clouds
* Copyright (C) 2008-2010 - Abiquo Holdings S.L.
*
* This application is free software; you can redistribute it and/or
* modify it under the terms of the GNU LESSER GENERAL PUBLIC
* LICENSE as published by the Free Software Foundation under
* version 3 of the License
*
* This software is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* LESSER GENERAL PUBLIC LICENSE v.3 for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the
* Free Software Foundation, Inc., 59 Temple Place - Suite 330,
* Boston, MA 02111-1307, USA.
*/
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6
// 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.02.23 at 01:07:44 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;
}
}