com.vmware.vim25.DiskChangeInfo 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.XmlType;
/**
* Java class for DiskChangeInfo complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="DiskChangeInfo">
* <complexContent>
* <extension base="{urn:vim25}DynamicData">
* <sequence>
* <element name="startOffset" type="{http://www.w3.org/2001/XMLSchema}long"/>
* <element name="length" type="{http://www.w3.org/2001/XMLSchema}long"/>
* <element name="changedArea" type="{urn:vim25}DiskChangeExtent" maxOccurs="unbounded" minOccurs="0"/>
* </sequence>
* </extension>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "DiskChangeInfo", propOrder = {
"startOffset",
"length",
"changedArea"
})
public class DiskChangeInfo
extends DynamicData
{
protected long startOffset;
protected long length;
protected List changedArea;
/**
* Gets the value of the startOffset property.
*
*/
public long getStartOffset() {
return startOffset;
}
/**
* Sets the value of the startOffset property.
*
*/
public void setStartOffset(long value) {
this.startOffset = value;
}
/**
* Gets the value of the length property.
*
*/
public long getLength() {
return length;
}
/**
* Sets the value of the length property.
*
*/
public void setLength(long value) {
this.length = value;
}
/**
* Gets the value of the changedArea 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 changedArea property.
*
*
* For example, to add a new item, do as follows:
*
* getChangedArea().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link DiskChangeExtent }
*
*
*/
public List getChangedArea() {
if (changedArea == null) {
changedArea = new ArrayList();
}
return this.changedArea;
}
}