

/**
 * Copyright (C) 2006-2008 Sun Microsystems, Inc.
 * 
 * Sun Microsystems, Inc. confidential
 * All rights reserved
 *
 * This file is autogenerated by glue-jaxws.xsl, DO NOT EDIT! 
 */

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

import javax.xml.bind.annotation.XmlEnum;
import javax.xml.bind.annotation.XmlEnumValue;
import javax.xml.bind.annotation.XmlType;

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

    @XmlEnumValue("CPULoad_Idle")
    CPULoad_Idle("CPULoad_Idle"),
    @XmlEnumValue("CPULoad_Kernel")
    CPULoad_Kernel("CPULoad_Kernel"),
    @XmlEnumValue("CPULoad_User")
    CPULoad_User("CPULoad_User"),
    @XmlEnumValue("Threads")
    Threads("Threads"),
    @XmlEnumValue("Processes")
    Processes("Processes"),
    @XmlEnumValue("Handles")
    Handles("Handles"),
    @XmlEnumValue("MemoryLoad")
    MemoryLoad("MemoryLoad"),
    @XmlEnumValue("PhysMemTotal")
    PhysMemTotal("PhysMemTotal"),
    @XmlEnumValue("PhysMemAvailable")
    PhysMemAvailable("PhysMemAvailable"),
    @XmlEnumValue("PhysMemBalloon")
    PhysMemBalloon("PhysMemBalloon"),
    @XmlEnumValue("MemCommitTotal")
    MemCommitTotal("MemCommitTotal"),
    @XmlEnumValue("MemKernelTotal")
    MemKernelTotal("MemKernelTotal"),
    @XmlEnumValue("MemKernelPaged")
    MemKernelPaged("MemKernelPaged"),
    @XmlEnumValue("MemKernelNonpaged")
    MemKernelNonpaged("MemKernelNonpaged"),
    @XmlEnumValue("MemSystemCache")
    MemSystemCache("MemSystemCache"),
    @XmlEnumValue("PageFileSize")
    PageFileSize("PageFileSize"),
    @XmlEnumValue("SampleNumber")
    SampleNumber("SampleNumber"),
    @XmlEnumValue("MaxVal")
    MaxVal("MaxVal");

    private final String value;

    GuestStatisticType(String v) {
        value = v;
    }

    public String value() {
        return value;
    }

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

}

