com.vmware.vim25.TraversalSpec 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 TraversalSpec complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="TraversalSpec">
* <complexContent>
* <extension base="{urn:vim25}SelectionSpec">
* <sequence>
* <element name="type" type="{http://www.w3.org/2001/XMLSchema}string"/>
* <element name="path" type="{http://www.w3.org/2001/XMLSchema}string"/>
* <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 = "TraversalSpec", propOrder = {
"type",
"path",
"skip",
"selectSet"
})
public class TraversalSpec
extends SelectionSpec
{
@XmlElement(required = true)
protected String type;
@XmlElement(required = true)
protected String path;
protected Boolean skip;
protected List selectSet;
/**
* 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 path property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getPath() {
return path;
}
/**
* Sets the value of the path property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setPath(String value) {
this.path = 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;
}
}