//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.1-b02-fcs 
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> 
// Any modifications to this file will be lost upon recompilation of the source schema. 
// Generated on: 2010.05.11 at 10:12:06 AM CEST 
//


package es.bsc.nuba.fco.tcloud;

import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.JAXBElement;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlElementRef;
import javax.xml.bind.annotation.XmlType;


/**
 * Description of a deployed Virtual Appliance
 * 
 * <p>Java class for VApp_Type complex type.
 * 
 * <p>The following schema fragment specifies the expected content contained within this class.
 * 
 * <pre>
 * &lt;complexType name="VApp_Type">
 *   &lt;complexContent>
 *     &lt;extension base="{http://schemas.tcloud.telefonica.com/tcloud/0.1}Entity_Type">
 *       &lt;sequence>
 *         &lt;element name="VAppParent" type="{http://schemas.tcloud.telefonica.com/tcloud/0.1}Reference_Type" minOccurs="0"/>
 *         &lt;element name="Chidren" minOccurs="0">
 *           &lt;complexType>
 *             &lt;complexContent>
 *               &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *                 &lt;sequence>
 *                   &lt;element name="VApp" type="{http://schemas.tcloud.telefonica.com/tcloud/0.1}VApp_Type" maxOccurs="unbounded" minOccurs="0"/>
 *                 &lt;/sequence>
 *               &lt;/restriction>
 *             &lt;/complexContent>
 *           &lt;/complexType>
 *         &lt;/element>
 *         &lt;element ref="{http://schemas.dmtf.org/ovf/envelope/1}Section" maxOccurs="unbounded" minOccurs="0"/>
 *       &lt;/sequence>
 *       &lt;attribute name="power">
 *         &lt;simpleType>
 *           &lt;restriction base="{http://www.w3.org/2001/XMLSchema}string">
 *             &lt;enumeration value="off"/>
 *             &lt;enumeration value="running"/>
 *             &lt;enumeration value="suspended"/>
 *           &lt;/restriction>
 *         &lt;/simpleType>
 *       &lt;/attribute>
 *     &lt;/extension>
 *   &lt;/complexContent>
 * &lt;/complexType>
 * </pre>
 * 
 * 
 */
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "VApp_Type", namespace = "http://schemas.tcloud.telefonica.com/tcloud/0.1", propOrder = {
    "vAppParent",
    "chidren",
    "section"
})
public class VAppType
    extends EntityType
{

    @XmlElement(name = "VAppParent", namespace = "http://schemas.tcloud.telefonica.com/tcloud/0.1")
    protected ReferenceType vAppParent;
    @XmlElement(name = "Chidren", namespace = "http://schemas.tcloud.telefonica.com/tcloud/0.1")
    protected VAppType.Chidren chidren;
    @XmlElementRef(name = "Section", namespace = "http://schemas.dmtf.org/ovf/envelope/1", type = JAXBElement.class)
    protected List<JAXBElement<? extends SectionType>> section;
    @XmlAttribute
    protected String power;

    /**
     * Gets the value of the vAppParent property.
     * 
     * @return
     *     possible object is
     *     {@link ReferenceType }
     *     
     */
    public ReferenceType getVAppParent() {
        return vAppParent;
    }

    /**
     * Sets the value of the vAppParent property.
     * 
     * @param value
     *     allowed object is
     *     {@link ReferenceType }
     *     
     */
    public void setVAppParent(ReferenceType value) {
        this.vAppParent = value;
    }

    /**
     * Gets the value of the chidren property.
     * 
     * @return
     *     possible object is
     *     {@link VAppType.Chidren }
     *     
     */
    public VAppType.Chidren getChidren() {
        return chidren;
    }

    /**
     * Sets the value of the chidren property.
     * 
     * @param value
     *     allowed object is
     *     {@link VAppType.Chidren }
     *     
     */
    public void setChidren(VAppType.Chidren value) {
        this.chidren = value;
    }

    /**
     * Gets the value of the section property.
     * 
     * <p>
     * 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 <CODE>set</CODE> method for the section property.
     * 
     * <p>
     * For example, to add a new item, do as follows:
     * <pre>
     *    getSection().add(newItem);
     * </pre>
     * 
     * 
     * <p>
     * Objects of the following type(s) are allowed in the list
     * {@link JAXBElement }{@code <}{@link DeploymentOptionSectionType }{@code >}
     * {@link JAXBElement }{@code <}{@link BackupConfigSectionType }{@code >}
     * {@link JAXBElement }{@code <}{@link AnnotationSectionType }{@code >}
     * {@link JAXBElement }{@code <}{@link NetworkConfigSectionType }{@code >}
     * {@link JAXBElement }{@code <}{@link DiskSectionType }{@code >}
     * {@link JAXBElement }{@code <}{@link SectionType }{@code >}
     * {@link JAXBElement }{@code <}{@link VirtualHardwareSectionType }{@code >}
     * {@link JAXBElement }{@code <}{@link OperatingSystemSectionType }{@code >}
     * {@link JAXBElement }{@code <}{@link StartupSectionType }{@code >}
     * {@link JAXBElement }{@code <}{@link InstallSectionType }{@code >}
     * {@link JAXBElement }{@code <}{@link EulaSectionType }{@code >}
     * {@link JAXBElement }{@code <}{@link NetworkSectionType }{@code >}
     * {@link JAXBElement }{@code <}{@link ProductSectionType }{@code >}
     * {@link JAXBElement }{@code <}{@link ResourceAllocationSectionType }{@code >}
     * 
     * 
     */
    public List<JAXBElement<? extends SectionType>> getSection() {
        if (section == null) {
            section = new ArrayList<JAXBElement<? extends SectionType>>();
        }
        return this.section;
    }

    /**
     * Gets the value of the power property.
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getPower() {
        return power;
    }

    /**
     * Sets the value of the power property.
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setPower(String value) {
        this.power = value;
    }


    /**
     * <p>Java class for anonymous complex type.
     * 
     * <p>The following schema fragment specifies the expected content contained within this class.
     * 
     * <pre>
     * &lt;complexType>
     *   &lt;complexContent>
     *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
     *       &lt;sequence>
     *         &lt;element name="VApp" type="{http://schemas.tcloud.telefonica.com/tcloud/0.1}VApp_Type" maxOccurs="unbounded" minOccurs="0"/>
     *       &lt;/sequence>
     *     &lt;/restriction>
     *   &lt;/complexContent>
     * &lt;/complexType>
     * </pre>
     * 
     * 
     */
    @XmlAccessorType(XmlAccessType.FIELD)
    @XmlType(name = "", propOrder = {
        "vApp"
    })
    public static class Chidren {

        @XmlElement(name = "VApp", namespace = "http://schemas.tcloud.telefonica.com/tcloud/0.1")
        protected List<VAppType> vApp;

        /**
         * Gets the value of the vApp property.
         * 
         * <p>
         * 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 <CODE>set</CODE> method for the vApp property.
         * 
         * <p>
         * For example, to add a new item, do as follows:
         * <pre>
         *    getVApp().add(newItem);
         * </pre>
         * 
         * 
         * <p>
         * Objects of the following type(s) are allowed in the list
         * {@link VAppType }
         * 
         * 
         */
        public List<VAppType> getVApp() {
            if (vApp == null) {
                vApp = new ArrayList<VAppType>();
            }
            return this.vApp;
        }

    }

}
