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