com.vmware.vcloud.api.rest.schema.ovf.CimDateTime Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of vcd-api-bindings-java Show documentation
Show all versions of vcd-api-bindings-java Show documentation
vCloud Director REST API bindings
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.0.5-b02-fcs
// See http://java.sun.com/xml/jaxb
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2019.01.11 at 04:44:26 AM UTC
//
package com.vmware.vcloud.api.rest.schema.ovf;
/*-
* #%L
* vcd-api-bindings-java :: vCloud Director REST API bindings
* %%
* Copyright (C) 2013 - 2019 VMware
* %%
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* 1. Redistributions of source code must retain the above copyright notice,
* this list of conditions and the following disclaimer.
* 2. Redistributions in binary form must reproduce the above copyright notice,
* this list of conditions and the following disclaimer in the documentation
* and/or other materials provided with the distribution.
*
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
* AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
* ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDERS OR CONTRIBUTORS BE
* LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
* CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
* SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
* INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
* CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
* POSSIBILITY OF SUCH DAMAGE.
* #L%
*/
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.XmlType;
import javax.xml.datatype.Duration;
import javax.xml.datatype.XMLGregorianCalendar;
import javax.xml.namespace.QName;
import com.vmware.vcloud.api.annotation.Supported;
/**
* Java class for cimDateTime complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <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>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "cimDateTime", namespace = "http://schemas.dmtf.org/wbem/wscim/1/common", propOrder = {
"cimDateTime",
"interval",
"date",
"time",
"datetime"
})
@Supported(addedIn = "1.5")
public class CimDateTime {
@XmlElementRef(name = "CIM_DateTime", namespace = "http://schemas.dmtf.org/wbem/wscim/1/common", type = JAXBElement.class)
@Supported(addedIn = "1.5")
protected JAXBElement cimDateTime;
@XmlElement(name = "Interval", namespace = "http://schemas.dmtf.org/wbem/wscim/1/common")
@Supported(addedIn = "1.5")
protected Duration interval;
@XmlElement(name = "Date", namespace = "http://schemas.dmtf.org/wbem/wscim/1/common")
@Supported(addedIn = "1.5")
protected XMLGregorianCalendar date;
@XmlElement(name = "Time", namespace = "http://schemas.dmtf.org/wbem/wscim/1/common")
@Supported(addedIn = "1.5")
protected XMLGregorianCalendar time;
@XmlElement(name = "Datetime", namespace = "http://schemas.dmtf.org/wbem/wscim/1/common")
@Supported(addedIn = "1.5")
protected XMLGregorianCalendar datetime;
@XmlAnyAttribute
private Map otherAttributes = new HashMap();
/**
* Gets the value of the cimDateTime property.
*
* @return
* possible object is
* {@link JAXBElement }{@code <}{@link String }{@code >}
*
*/
@Supported(addedIn = "1.5")
public JAXBElement getCIMDateTime() {
return cimDateTime;
}
/**
* Sets the value of the cimDateTime property.
*
* @param value
* allowed object is
* {@link JAXBElement }{@code <}{@link String }{@code >}
*
*/
@Supported(addedIn = "1.5")
public void setCIMDateTime(JAXBElement value) {
this.cimDateTime = ((JAXBElement ) value);
}
/**
* Gets the value of the interval property.
*
* @return
* possible object is
* {@link Duration }
*
*/
@Supported(addedIn = "1.5")
public Duration getInterval() {
return interval;
}
/**
* Sets the value of the interval property.
*
* @param value
* allowed object is
* {@link Duration }
*
*/
@Supported(addedIn = "1.5")
public void setInterval(Duration value) {
this.interval = value;
}
/**
* Gets the value of the date property.
*
* @return
* possible object is
* {@link XMLGregorianCalendar }
*
*/
@Supported(addedIn = "1.5")
public XMLGregorianCalendar getDate() {
return date;
}
/**
* Sets the value of the date property.
*
* @param value
* allowed object is
* {@link XMLGregorianCalendar }
*
*/
@Supported(addedIn = "1.5")
public void setDate(XMLGregorianCalendar value) {
this.date = value;
}
/**
* Gets the value of the time property.
*
* @return
* possible object is
* {@link XMLGregorianCalendar }
*
*/
@Supported(addedIn = "1.5")
public XMLGregorianCalendar getTime() {
return time;
}
/**
* Sets the value of the time property.
*
* @param value
* allowed object is
* {@link XMLGregorianCalendar }
*
*/
@Supported(addedIn = "1.5")
public void setTime(XMLGregorianCalendar value) {
this.time = value;
}
/**
* Gets the value of the datetime property.
*
* @return
* possible object is
* {@link XMLGregorianCalendar }
*
*/
@Supported(addedIn = "1.5")
public XMLGregorianCalendar getDatetime() {
return datetime;
}
/**
* Sets the value of the datetime property.
*
* @param value
* allowed object is
* {@link XMLGregorianCalendar }
*
*/
@Supported(addedIn = "1.5")
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.
*
*
* 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 getOtherAttributes() {
return otherAttributes;
}
}