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

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

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

 * <complexType name="SoftwarePackage">
 *   <complexContent>
 *     <extension base="{urn:vim25}DynamicData">
 *       <sequence>
 *         <element name="name" type="{http://www.w3.org/2001/XMLSchema}string"/>
 *         <element name="version" type="{http://www.w3.org/2001/XMLSchema}string"/>
 *         <element name="type" type="{http://www.w3.org/2001/XMLSchema}string"/>
 *         <element name="vendor" type="{http://www.w3.org/2001/XMLSchema}string"/>
 *         <element name="acceptanceLevel" type="{http://www.w3.org/2001/XMLSchema}string"/>
 *         <element name="summary" type="{http://www.w3.org/2001/XMLSchema}string"/>
 *         <element name="description" type="{http://www.w3.org/2001/XMLSchema}string"/>
 *         <element name="referenceURL" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
 *         <element name="creationDate" type="{http://www.w3.org/2001/XMLSchema}dateTime" minOccurs="0"/>
 *         <element name="depends" type="{urn:vim25}Relation" maxOccurs="unbounded" minOccurs="0"/>
 *         <element name="conflicts" type="{urn:vim25}Relation" maxOccurs="unbounded" minOccurs="0"/>
 *         <element name="replaces" type="{urn:vim25}Relation" maxOccurs="unbounded" minOccurs="0"/>
 *         <element name="provides" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
 *         <element name="maintenanceModeRequired" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
 *         <element name="hardwarePlatformsRequired" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
 *         <element name="capability" type="{urn:vim25}SoftwarePackageCapability"/>
 *         <element name="tag" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
 *         <element name="payload" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
 *       </sequence>
 *     </extension>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "SoftwarePackage", propOrder = { "name", "version", "type", "vendor", "acceptanceLevel", "summary", "description", "referenceURL", "creationDate", "depends", "conflicts", "replaces", "provides", "maintenanceModeRequired", "hardwarePlatformsRequired", "capability", "tag", "payload" }) public class SoftwarePackage extends DynamicData { @XmlElement(required = true) protected String name; @XmlElement(required = true) protected String version; @XmlElement(required = true) protected String type; @XmlElement(required = true) protected String vendor; @XmlElement(required = true) protected String acceptanceLevel; @XmlElement(required = true) protected String summary; @XmlElement(required = true) protected String description; protected List referenceURL; @XmlSchemaType(name = "dateTime") protected XMLGregorianCalendar creationDate; protected List depends; protected List conflicts; protected List replaces; protected List provides; protected Boolean maintenanceModeRequired; protected List hardwarePlatformsRequired; @XmlElement(required = true) protected SoftwarePackageCapability capability; protected List tag; protected List payload; /** * 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 version property. * * @return * possible object is * {@link String } * */ public String getVersion() { return version; } /** * Sets the value of the version property. * * @param value * allowed object is * {@link String } * */ public void setVersion(String value) { this.version = value; } /** * Gets the value of the type property. * * @return * possible object is * {@link String } * */ public String getType() { return type; } /** * Sets the value of the type property. * * @param value * allowed object is * {@link String } * */ public void setType(String value) { this.type = value; } /** * Gets the value of the vendor property. * * @return * possible object is * {@link String } * */ public String getVendor() { return vendor; } /** * Sets the value of the vendor property. * * @param value * allowed object is * {@link String } * */ public void setVendor(String value) { this.vendor = value; } /** * Gets the value of the acceptanceLevel property. * * @return * possible object is * {@link String } * */ public String getAcceptanceLevel() { return acceptanceLevel; } /** * Sets the value of the acceptanceLevel property. * * @param value * allowed object is * {@link String } * */ public void setAcceptanceLevel(String value) { this.acceptanceLevel = value; } /** * Gets the value of the summary property. * * @return * possible object is * {@link String } * */ public String getSummary() { return summary; } /** * Sets the value of the summary property. * * @param value * allowed object is * {@link String } * */ public void setSummary(String value) { this.summary = value; } /** * Gets the value of the description property. * * @return * possible object is * {@link String } * */ public String getDescription() { return description; } /** * Sets the value of the description property. * * @param value * allowed object is * {@link String } * */ public void setDescription(String value) { this.description = value; } /** * Gets the value of the referenceURL 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 referenceURL property. * *

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

     *    getReferenceURL().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link String } * * */ public List getReferenceURL() { if (referenceURL == null) { referenceURL = new ArrayList(); } return this.referenceURL; } /** * Gets the value of the creationDate property. * * @return * possible object is * {@link XMLGregorianCalendar } * */ public XMLGregorianCalendar getCreationDate() { return creationDate; } /** * Sets the value of the creationDate property. * * @param value * allowed object is * {@link XMLGregorianCalendar } * */ public void setCreationDate(XMLGregorianCalendar value) { this.creationDate = value; } /** * Gets the value of the depends 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 depends property. * *

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

     *    getDepends().add(newItem);
     * 
* * *

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

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

     *    getConflicts().add(newItem);
     * 
* * *

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

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

     *    getReplaces().add(newItem);
     * 
* * *

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

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

     *    getProvides().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link String } * * */ public List getProvides() { if (provides == null) { provides = new ArrayList(); } return this.provides; } /** * Gets the value of the maintenanceModeRequired property. * * @return * possible object is * {@link Boolean } * */ public Boolean isMaintenanceModeRequired() { return maintenanceModeRequired; } /** * Sets the value of the maintenanceModeRequired property. * * @param value * allowed object is * {@link Boolean } * */ public void setMaintenanceModeRequired(Boolean value) { this.maintenanceModeRequired = value; } /** * Gets the value of the hardwarePlatformsRequired 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 hardwarePlatformsRequired property. * *

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

     *    getHardwarePlatformsRequired().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link String } * * */ public List getHardwarePlatformsRequired() { if (hardwarePlatformsRequired == null) { hardwarePlatformsRequired = new ArrayList(); } return this.hardwarePlatformsRequired; } /** * Gets the value of the capability property. * * @return * possible object is * {@link SoftwarePackageCapability } * */ public SoftwarePackageCapability getCapability() { return capability; } /** * Sets the value of the capability property. * * @param value * allowed object is * {@link SoftwarePackageCapability } * */ public void setCapability(SoftwarePackageCapability value) { this.capability = value; } /** * Gets the value of the tag 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 tag property. * *

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

     *    getTag().add(newItem);
     * 
* * *

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

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

     *    getPayload().add(newItem);
     * 
* * *

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





© 2015 - 2024 Weber Informatics LLC | Privacy Policy