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

org.virtualbox_4_2.jaxws.PortMode 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 PortMode. * *

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

*

 * <simpleType name="PortMode">
 *   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
 *     <enumeration value="Disconnected"/>
 *     <enumeration value="HostPipe"/>
 *     <enumeration value="HostDevice"/>
 *     <enumeration value="RawFile"/>
 *   </restriction>
 * </simpleType>
 * 
* */ @XmlType(name = "PortMode") @XmlEnum public enum PortMode { @XmlEnumValue("Disconnected") DISCONNECTED("Disconnected"), @XmlEnumValue("HostPipe") HOST_PIPE("HostPipe"), @XmlEnumValue("HostDevice") HOST_DEVICE("HostDevice"), @XmlEnumValue("RawFile") RAW_FILE("RawFile"); private final String value; PortMode(String v) { value = v; } public String value() { return value; } public static PortMode fromValue(String v) { for (PortMode c: PortMode.values()) { if (c.value.equals(v)) { return c; } } throw new IllegalArgumentException(v); } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy