org.virtualbox_4_2.jaxws.Scope Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of vboxjws Show documentation
Show all versions of vboxjws Show documentation
VirtualBox Client API 4.2.4
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 Scope.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <simpleType name="Scope">
* <restriction base="{http://www.w3.org/2001/XMLSchema}string">
* <enumeration value="Global"/>
* <enumeration value="Machine"/>
* <enumeration value="Session"/>
* </restriction>
* </simpleType>
*
*
*/
@XmlType(name = "Scope")
@XmlEnum
public enum Scope {
@XmlEnumValue("Global")
GLOBAL("Global"),
@XmlEnumValue("Machine")
MACHINE("Machine"),
@XmlEnumValue("Session")
SESSION("Session");
private final String value;
Scope(String v) {
value = v;
}
public String value() {
return value;
}
public static Scope fromValue(String v) {
for (Scope c: Scope.values()) {
if (c.value.equals(v)) {
return c;
}
}
throw new IllegalArgumentException(v);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy