![JAR search and dependency download from the Maven repository](/logo.png)
com.vmware.vim25.ObjectSpec 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 ObjectSpec complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="ObjectSpec">
* <complexContent>
* <extension base="{urn:vim25}DynamicData">
* <sequence>
* <element name="obj" type="{urn:vim25}ManagedObjectReference"/>
* <element name="skip" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
* <element name="selectSet" type="{urn:vim25}SelectionSpec" maxOccurs="unbounded" minOccurs="0"/>
* </sequence>
* </extension>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "ObjectSpec", propOrder = {
"obj",
"skip",
"selectSet"
})
public class ObjectSpec
extends DynamicData
{
@XmlElement(required = true)
protected ManagedObjectReference obj;
protected Boolean skip;
protected List selectSet;
/**
* 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 skip property.
*
* @return
* possible object is
* {@link Boolean }
*
*/
public Boolean isSkip() {
return skip;
}
/**
* Sets the value of the skip property.
*
* @param value
* allowed object is
* {@link Boolean }
*
*/
public void setSkip(Boolean value) {
this.skip = value;
}
/**
* Gets the value of the selectSet 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 selectSet property.
*
*
* For example, to add a new item, do as follows:
*
* getSelectSet().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link SelectionSpec }
*
*
*/
public List getSelectSet() {
if (selectSet == null) {
selectSet = new ArrayList();
}
return this.selectSet;
}
}