com.vmware.vim25.VirtualMachineFileLayoutEx Maven / Gradle / Ivy
package com.vmware.vim25;
import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlSchemaType;
import javax.xml.bind.annotation.XmlType;
import javax.xml.datatype.XMLGregorianCalendar;
/**
* Java class for VirtualMachineFileLayoutEx complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="VirtualMachineFileLayoutEx">
* <complexContent>
* <extension base="{urn:vim25}DynamicData">
* <sequence>
* <element name="file" type="{urn:vim25}VirtualMachineFileLayoutExFileInfo" maxOccurs="unbounded" minOccurs="0"/>
* <element name="disk" type="{urn:vim25}VirtualMachineFileLayoutExDiskLayout" maxOccurs="unbounded" minOccurs="0"/>
* <element name="snapshot" type="{urn:vim25}VirtualMachineFileLayoutExSnapshotLayout" maxOccurs="unbounded" minOccurs="0"/>
* <element name="timestamp" type="{http://www.w3.org/2001/XMLSchema}dateTime"/>
* </sequence>
* </extension>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "VirtualMachineFileLayoutEx", propOrder = {
"file",
"disk",
"snapshot",
"timestamp"
})
public class VirtualMachineFileLayoutEx
extends DynamicData
{
protected List file;
protected List disk;
protected List snapshot;
@XmlElement(required = true)
@XmlSchemaType(name = "dateTime")
protected XMLGregorianCalendar timestamp;
/**
* Gets the value of the file property.
*
*
* 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 set
method for the file property.
*
*
* For example, to add a new item, do as follows:
*
* getFile().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link VirtualMachineFileLayoutExFileInfo }
*
*
*/
public List getFile() {
if (file == null) {
file = new ArrayList();
}
return this.file;
}
/**
* Gets the value of the disk property.
*
*
* 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 set
method for the disk property.
*
*
* For example, to add a new item, do as follows:
*
* getDisk().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link VirtualMachineFileLayoutExDiskLayout }
*
*
*/
public List getDisk() {
if (disk == null) {
disk = new ArrayList();
}
return this.disk;
}
/**
* Gets the value of the snapshot property.
*
*
* 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 set
method for the snapshot property.
*
*
* For example, to add a new item, do as follows:
*
* getSnapshot().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link VirtualMachineFileLayoutExSnapshotLayout }
*
*
*/
public List getSnapshot() {
if (snapshot == null) {
snapshot = new ArrayList();
}
return this.snapshot;
}
/**
* Gets the value of the timestamp property.
*
* @return
* possible object is
* {@link XMLGregorianCalendar }
*
*/
public XMLGregorianCalendar getTimestamp() {
return timestamp;
}
/**
* Sets the value of the timestamp property.
*
* @param value
* allowed object is
* {@link XMLGregorianCalendar }
*
*/
public void setTimestamp(XMLGregorianCalendar value) {
this.timestamp = value;
}
}