com.vmware.vim25.OvfConsumerOstNode 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 OvfConsumerOstNode complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="OvfConsumerOstNode">
* <complexContent>
* <extension base="{urn:vim25}DynamicData">
* <sequence>
* <element name="id" type="{http://www.w3.org/2001/XMLSchema}string"/>
* <element name="type" type="{http://www.w3.org/2001/XMLSchema}string"/>
* <element name="section" type="{urn:vim25}OvfConsumerOvfSection" maxOccurs="unbounded" minOccurs="0"/>
* <element name="child" type="{urn:vim25}OvfConsumerOstNode" maxOccurs="unbounded" minOccurs="0"/>
* <element name="entity" type="{urn:vim25}ManagedObjectReference" minOccurs="0"/>
* </sequence>
* </extension>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "OvfConsumerOstNode", propOrder = {
"id",
"type",
"section",
"child",
"entity"
})
public class OvfConsumerOstNode
extends DynamicData
{
@XmlElement(required = true)
protected String id;
@XmlElement(required = true)
protected String type;
protected List section;
protected List child;
protected ManagedObjectReference entity;
/**
* Gets the value of the id property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getId() {
return id;
}
/**
* Sets the value of the id property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setId(String value) {
this.id = value;
}
/**
* 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 section 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 section property.
*
*
* For example, to add a new item, do as follows:
*
* getSection().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link OvfConsumerOvfSection }
*
*
*/
public List getSection() {
if (section == null) {
section = new ArrayList();
}
return this.section;
}
/**
* Gets the value of the child 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 child property.
*
*
* For example, to add a new item, do as follows:
*
* getChild().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link OvfConsumerOstNode }
*
*
*/
public List getChild() {
if (child == null) {
child = new ArrayList();
}
return this.child;
}
/**
* Gets the value of the entity property.
*
* @return
* possible object is
* {@link ManagedObjectReference }
*
*/
public ManagedObjectReference getEntity() {
return entity;
}
/**
* Sets the value of the entity property.
*
* @param value
* allowed object is
* {@link ManagedObjectReference }
*
*/
public void setEntity(ManagedObjectReference value) {
this.entity = value;
}
}