
/**
 * Copyright (C) 2008-2009 Sun Microsystems, Inc.
 *
 * This file is part of a free software library; you can redistribute
 * it and/or modify it under the terms of the GNU Lesser General
 * Public License version 2.1 as published by the Free Software
 * Foundation and shipped in the "COPYING.LIB" file with this library.
 * The library is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY of any kind.
 *
 * Sun LGPL Disclaimer: For the avoidance of doubt, except that if
 * any license choice other than GPL or LGPL is available it will
 * apply instead, Sun elects to use only the Lesser General Public
 * License version 2.1 (LGPLv2) at this time for any software where
 * a choice of LGPL license versions is made available with the
 * language indicating that LGPLv2 or any later version may be used,
 * or where a choice of which version of the LGPL is applied is
 * otherwise unspecified.
 *
 * Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa
 * Clara, CA 95054 USA or visit http://www.sun.com if you need
 * additional information or have any questions.
 *
 * OVFResourceType.java
 *
 * DO NOT EDIT! This is a generated file.
 * Generated from: src/VBox/Main/idl/VirtualBox.xidl (VirtualBox's interface definitions in XML)
 * Generator: src/VBox/Main/webservice/glue-jaxws.xsl
 */


package com.sun.xml.ws.commons.virtualbox_2_2;

import org.virtualbox_2_2.VboxPortType;
import org.virtualbox_2_2.VboxService;
import org.virtualbox_2_2.InvalidObjectFaultMsg;
import org.virtualbox_2_2.RuntimeFaultMsg;
import javax.xml.ws.WebServiceException;
import javax.xml.bind.annotation.XmlEnum;
import javax.xml.bind.annotation.XmlEnumValue;
import javax.xml.bind.annotation.XmlType;

@XmlType(name = "OVFResourceType")
@XmlEnum
public enum OVFResourceType {

    @XmlEnumValue("Other")
    Other("Other"),
    @XmlEnumValue("ComputerSystem")
    ComputerSystem("ComputerSystem"),
    @XmlEnumValue("Processor")
    Processor("Processor"),
    @XmlEnumValue("Memory")
    Memory("Memory"),
    @XmlEnumValue("IDEController")
    IDEController("IDEController"),
    @XmlEnumValue("ParallelSCSIHBA")
    ParallelSCSIHBA("ParallelSCSIHBA"),
    @XmlEnumValue("FCHBA")
    FCHBA("FCHBA"),
    @XmlEnumValue("iSCSIHBA")
    iSCSIHBA("iSCSIHBA"),
    @XmlEnumValue("IBHCA")
    IBHCA("IBHCA"),
    @XmlEnumValue("EthernetAdapter")
    EthernetAdapter("EthernetAdapter"),
    @XmlEnumValue("OtherNetworkAdapter")
    OtherNetworkAdapter("OtherNetworkAdapter"),
    @XmlEnumValue("IOSlot")
    IOSlot("IOSlot"),
    @XmlEnumValue("IODevice")
    IODevice("IODevice"),
    @XmlEnumValue("FloppyDrive")
    FloppyDrive("FloppyDrive"),
    @XmlEnumValue("CDDrive")
    CDDrive("CDDrive"),
    @XmlEnumValue("DVDDrive")
    DVDDrive("DVDDrive"),
    @XmlEnumValue("HardDisk")
    HardDisk("HardDisk"),
    @XmlEnumValue("OtherStorageDevice")
    OtherStorageDevice("OtherStorageDevice"),
    @XmlEnumValue("USBController")
    USBController("USBController"),
    @XmlEnumValue("SoundCard")
    SoundCard("SoundCard");

    private final String value;

    OVFResourceType(String v) {
        value = v;
    }

    public String value() {
        return value;
    }

    public static OVFResourceType fromValue(String v) {
        for (OVFResourceType c: OVFResourceType. values()) {
            if (c.value.equals(v)) {
                return c;
            }
        }
        throw new IllegalArgumentException(v);
    }

}

