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

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

The 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 EnumDescription complex type. * *

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

 * <complexType name="EnumDescription">
 *   <complexContent>
 *     <extension base="{urn:vim25}DynamicData">
 *       <sequence>
 *         <element name="key" type="{http://www.w3.org/2001/XMLSchema}string"/>
 *         <element name="tags" type="{urn:vim25}ElementDescription" maxOccurs="unbounded"/>
 *       </sequence>
 *     </extension>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "EnumDescription", propOrder = { "key", "tags" }) public class EnumDescription extends DynamicData { @XmlElement(required = true) protected String key; @XmlElement(required = true) protected List tags; /** * Gets the value of the key property. * * @return * possible object is * {@link String } * */ public String getKey() { return key; } /** * Sets the value of the key property. * * @param value * allowed object is * {@link String } * */ public void setKey(String value) { this.key = value; } /** * Gets the value of the tags 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 tags property. * *

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

     *    getTags().add(newItem);
     * 
* * *

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





© 2015 - 2024 Weber Informatics LLC | Privacy Policy