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

com.vmware.vim25.HostSubSpecification 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.XmlSchemaType;
import javax.xml.bind.annotation.XmlType;
import javax.xml.datatype.XMLGregorianCalendar;


/**
 * 

Java class for HostSubSpecification complex type. * *

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

 * <complexType name="HostSubSpecification">
 *   <complexContent>
 *     <extension base="{urn:vim25}DynamicData">
 *       <sequence>
 *         <element name="name" type="{http://www.w3.org/2001/XMLSchema}string"/>
 *         <element name="createdTime" type="{http://www.w3.org/2001/XMLSchema}dateTime"/>
 *         <element name="data" type="{http://www.w3.org/2001/XMLSchema}byte" maxOccurs="unbounded" minOccurs="0"/>
 *       </sequence>
 *     </extension>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "HostSubSpecification", propOrder = { "name", "createdTime", "data" }) public class HostSubSpecification extends DynamicData { @XmlElement(required = true) protected String name; @XmlElement(required = true) @XmlSchemaType(name = "dateTime") protected XMLGregorianCalendar createdTime; @XmlElement(type = Byte.class) protected List data; /** * Gets the value of the name property. * * @return * possible object is * {@link String } * */ public String getName() { return name; } /** * Sets the value of the name property. * * @param value * allowed object is * {@link String } * */ public void setName(String value) { this.name = value; } /** * Gets the value of the createdTime property. * * @return * possible object is * {@link XMLGregorianCalendar } * */ public XMLGregorianCalendar getCreatedTime() { return createdTime; } /** * Sets the value of the createdTime property. * * @param value * allowed object is * {@link XMLGregorianCalendar } * */ public void setCreatedTime(XMLGregorianCalendar value) { this.createdTime = value; } /** * Gets the value of the data 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 data property. * *

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

     *    getData().add(newItem);
     * 
* * *

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





© 2015 - 2025 Weber Informatics LLC | Privacy Policy