com.vmware.vim25.ObjectContent 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.XmlType;
/**
* Java class for ObjectContent complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="ObjectContent">
* <complexContent>
* <extension base="{urn:vim25}DynamicData">
* <sequence>
* <element name="obj" type="{urn:vim25}ManagedObjectReference"/>
* <element name="propSet" type="{urn:vim25}DynamicProperty" maxOccurs="unbounded" minOccurs="0"/>
* <element name="missingSet" type="{urn:vim25}MissingProperty" maxOccurs="unbounded" minOccurs="0"/>
* </sequence>
* </extension>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "ObjectContent", propOrder = {
"obj",
"propSet",
"missingSet"
})
public class ObjectContent
extends DynamicData
{
@XmlElement(required = true)
protected ManagedObjectReference obj;
protected List propSet;
protected List missingSet;
/**
* 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 propSet 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 propSet property.
*
*
* For example, to add a new item, do as follows:
*
* getPropSet().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link DynamicProperty }
*
*
*/
public List getPropSet() {
if (propSet == null) {
propSet = new ArrayList();
}
return this.propSet;
}
/**
* 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;
}
}