All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.virtualbox_4_2.jaxws.AutostopType Maven / Gradle / Ivy

The newest version!

package org.virtualbox_4_2.jaxws;

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


/**
 * 

Java class for AutostopType. * *

The following schema fragment specifies the expected content contained within this class. *

*

 * <simpleType name="AutostopType">
 *   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
 *     <enumeration value="Disabled"/>
 *     <enumeration value="SaveState"/>
 *     <enumeration value="PowerOff"/>
 *     <enumeration value="AcpiShutdown"/>
 *   </restriction>
 * </simpleType>
 * 
* */ @XmlType(name = "AutostopType") @XmlEnum public enum AutostopType { @XmlEnumValue("Disabled") DISABLED("Disabled"), @XmlEnumValue("SaveState") SAVE_STATE("SaveState"), @XmlEnumValue("PowerOff") POWER_OFF("PowerOff"), @XmlEnumValue("AcpiShutdown") ACPI_SHUTDOWN("AcpiShutdown"); private final String value; AutostopType(String v) { value = v; } public String value() { return value; } public static AutostopType fromValue(String v) { for (AutostopType c: AutostopType.values()) { if (c.value.equals(v)) { return c; } } throw new IllegalArgumentException(v); } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy