All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.vmware.vim25.HostDiskPartitionLayout Maven / Gradle / Ivy

There is a newer version: 0.6.60
Show newest version

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.XmlType;


/**
 * 

Java class for HostDiskPartitionLayout complex type. * *

The following schema fragment specifies the expected content contained within this class. * *

 * <complexType name="HostDiskPartitionLayout">
 *   <complexContent>
 *     <extension base="{urn:vim25}DynamicData">
 *       <sequence>
 *         <element name="total" type="{urn:vim25}HostDiskDimensionsLba" minOccurs="0"/>
 *         <element name="partition" type="{urn:vim25}HostDiskPartitionBlockRange" maxOccurs="unbounded"/>
 *       </sequence>
 *     </extension>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "HostDiskPartitionLayout", propOrder = { "total", "partition" }) public class HostDiskPartitionLayout extends DynamicData { protected HostDiskDimensionsLba total; @XmlElement(required = true) protected List partition; /** * Gets the value of the total property. * * @return * possible object is * {@link HostDiskDimensionsLba } * */ public HostDiskDimensionsLba getTotal() { return total; } /** * Sets the value of the total property. * * @param value * allowed object is * {@link HostDiskDimensionsLba } * */ public void setTotal(HostDiskDimensionsLba value) { this.total = value; } /** * Gets the value of the partition 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 partition property. * *

* For example, to add a new item, do as follows: *

     *    getPartition().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link HostDiskPartitionBlockRange } * * */ public List getPartition() { if (partition == null) { partition = new ArrayList(); } return this.partition; } }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy