com.vmware.vim25.ObjectUpdate 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.XmlSchemaType;
import javax.xml.bind.annotation.XmlType;
/**
* Java class for ObjectUpdate complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="ObjectUpdate">
* <complexContent>
* <extension base="{urn:vim25}DynamicData">
* <sequence>
* <element name="kind" type="{urn:vim25}ObjectUpdateKind"/>
* <element name="obj" type="{urn:vim25}ManagedObjectReference"/>
* <element name="changeSet" type="{urn:vim25}PropertyChange" maxOccurs="unbounded" minOccurs="0"/>
* <element name="missingSet" type="{urn:vim25}MissingProperty" maxOccurs="unbounded" minOccurs="0"/>
* </sequence>
* </extension>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "ObjectUpdate", propOrder = {
"kind",
"obj",
"changeSet",
"missingSet"
})
public class ObjectUpdate
extends DynamicData
{
@XmlElement(required = true)
@XmlSchemaType(name = "string")
protected ObjectUpdateKind kind;
@XmlElement(required = true)
protected ManagedObjectReference obj;
protected List changeSet;
protected List missingSet;
/**
* Gets the value of the kind property.
*
* @return
* possible object is
* {@link ObjectUpdateKind }
*
*/
public ObjectUpdateKind getKind() {
return kind;
}
/**
* Sets the value of the kind property.
*
* @param value
* allowed object is
* {@link ObjectUpdateKind }
*
*/
public void setKind(ObjectUpdateKind value) {
this.kind = value;
}
/**
* Gets the value of the obj property.
*
* @return
* possible object is
* {@link ManagedObjectReference }
*
*/
public ManagedObjectReference getObj() {
return obj;
}
/**
* Sets the value of the obj property.
*
* @param value
* allowed object is
* {@link ManagedObjectReference }
*
*/
public void setObj(ManagedObjectReference value) {
this.obj = value;
}
/**
* Gets the value of the changeSet 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 changeSet property.
*
*
* For example, to add a new item, do as follows:
*
* getChangeSet().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link PropertyChange }
*
*
*/
public List getChangeSet() {
if (changeSet == null) {
changeSet = new ArrayList();
}
return this.changeSet;
}
/**
* Gets the value of the missingSet 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 missingSet property.
*
*
* For example, to add a new item, do as follows:
*
* getMissingSet().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link MissingProperty }
*
*
*/
public List getMissingSet() {
if (missingSet == null) {
missingSet = new ArrayList();
}
return this.missingSet;
}
}