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

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

There is a newer version: 4.2.8
Show 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 LockType. * *

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

*

 * <simpleType name="LockType">
 *   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
 *     <enumeration value="Write"/>
 *     <enumeration value="Shared"/>
 *     <enumeration value="VM"/>
 *   </restriction>
 * </simpleType>
 * 
* */ @XmlType(name = "LockType") @XmlEnum public enum LockType { @XmlEnumValue("Write") WRITE("Write"), @XmlEnumValue("Shared") SHARED("Shared"), VM("VM"); private final String value; LockType(String v) { value = v; } public String value() { return value; } public static LockType fromValue(String v) { for (LockType c: LockType.values()) { if (c.value.equals(v)) { return c; } } throw new IllegalArgumentException(v); } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy