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

com.vmware.vim25.TaskDescription 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 TaskDescription complex type. * *

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

 * <complexType name="TaskDescription">
 *   <complexContent>
 *     <extension base="{urn:vim25}DynamicData">
 *       <sequence>
 *         <element name="methodInfo" type="{urn:vim25}ElementDescription" maxOccurs="unbounded"/>
 *         <element name="state" type="{urn:vim25}ElementDescription" maxOccurs="unbounded"/>
 *         <element name="reason" type="{urn:vim25}TypeDescription" maxOccurs="unbounded"/>
 *       </sequence>
 *     </extension>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "TaskDescription", propOrder = { "methodInfo", "state", "reason" }) public class TaskDescription extends DynamicData { @XmlElement(required = true) protected List methodInfo; @XmlElement(required = true) protected List state; @XmlElement(required = true) protected List reason; /** * Gets the value of the methodInfo 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 methodInfo property. * *

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

     *    getMethodInfo().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link ElementDescription } * * */ public List getMethodInfo() { if (methodInfo == null) { methodInfo = new ArrayList(); } return this.methodInfo; } /** * Gets the value of the state 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 state property. * *

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

     *    getState().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link ElementDescription } * * */ public List getState() { if (state == null) { state = new ArrayList(); } return this.state; } /** * Gets the value of the reason 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 reason property. * *

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

     *    getReason().add(newItem);
     * 
* * *

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





© 2015 - 2025 Weber Informatics LLC | Privacy Policy