com.vmware.vim25.PatchMetadataInvalid Maven / Gradle / Ivy
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.XmlSeeAlso;
import javax.xml.bind.annotation.XmlType;
/**
* Java class for PatchMetadataInvalid complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="PatchMetadataInvalid">
* <complexContent>
* <extension base="{urn:vim25}VimFault">
* <sequence>
* <element name="patchID" type="{http://www.w3.org/2001/XMLSchema}string"/>
* <element name="metaData" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
* </sequence>
* </extension>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "PatchMetadataInvalid", propOrder = {
"patchID",
"metaData"
})
@XmlSeeAlso({
PatchMetadataCorrupted.class,
PatchMetadataNotFound.class
})
public class PatchMetadataInvalid
extends VimFault
{
@XmlElement(required = true)
protected String patchID;
protected List metaData;
/**
* Gets the value of the patchID property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getPatchID() {
return patchID;
}
/**
* Sets the value of the patchID property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setPatchID(String value) {
this.patchID = value;
}
/**
* Gets the value of the metaData 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 metaData property.
*
*
* For example, to add a new item, do as follows:
*
* getMetaData().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link String }
*
*
*/
public List getMetaData() {
if (metaData == null) {
metaData = new ArrayList();
}
return this.metaData;
}
}